How do you enable/disable a trace to a Oracle Application Forms Session? (Other Way)
1. Get the serial #, sid of particular form session by navigating Help->about Oracle applicatins2. Connect to database using sqlplus with relavant user
3. execute dbms_system.set_sql_trace_in_session(2122,332,TRUE);
4. Select spid from v$process where addr=(select paddr from v$session where sid=2122);
5. You will get spid like 4515 for above statement
6. Goto udump location and type ls -ltr *4515* you will get trace file
To disable Trace Session
1. execute dbms_system.set_sql_trace_in_session(2122,332,FALSE);
Comments
Post a Comment