Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

is it possible to set serveroutput in a trigger?

452679Sep 7 2005 — edited Sep 8 2005
I need to "set serveroutput on" in an after logon trigger. Is this possible? If so, can I have an example? I tried

CREATE OR REPLACE TRIGGER EG.test_setserveroutput
AFTER LOGON
ON DATABASE

BEGIN
place dbms_output.enable(100000);
END test_setserveroutput;
/

but got the following error:

PLS-00103: Encountered the symbol "DBMS_OUTPUT" when expecting one of the following:

:= . ( @ % ;

Any help would be appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2005
Added on Sep 7 2005
3 comments
1,706 views