Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to audit/trigger "ALTER SESSION" Statements?
"Michel Cadot" <micadot{at}altern{dot}org> wrote in
news:426bd128$0$23350$636a15ce_at_news.free.fr:
> > "IANAL_VISTA" <IANAL_Vista_at_hotmail.com> a écrit dans le message de > news:Xns96424FCC5441ESunnySD_at_68.6.19.6...
> > Reread my post SQL*Plus actually displays dbms_output messages for > drop and create table statements (you see them after the "exec null" > that just forces SQL*Plus to flush dbms_output buffer onto screen) but > not for alter session so i assume that the trigger is not fired by > alter session. > > Regards > Michel Cadot > > >
Yes, but the trigger "fires in the DB's background context"; which really is separate & distinct from your session. Just because the DBMS_OUTPUT works for your "foreground" session, doesn't mean your session will see the output from a background session.
In any case I demonstrated that the DDL trigger does fire as expected. Received on Sun Apr 24 2005 - 12:08:37 CDT