-------------------------- -sql text for a given SID -File Name: sql_text.sql -Usage : @sql_text -------------------------- select s.sql_text FROM v$process p,v$session a,v$sqltext s,v$sqlarea sa where a.sid = &SID and s.address = a.prev_sql_addr AND p.addr = a.paddr AND s.address=sa.address AND a.username is not null order by a.username, a.osuser, a.sid, s.piece /
Tuesday, September 17, 2013
Sql text for a give SID
Subscribe to:
Post Comments (Atom)
NLS boot file not found or invalid opmnctl ping – EBS 12.2 ADCFGCLONE FAIL
Error: adcfgclone.pl failed while performing clone of EBS 12.2 instance. This occurred while ohsT2PApply is in progress. INST_TOP/adm...
-
I got a task to estimate RMAN backup size. How much 3days RMAN backup occupy? How long it will take to complete? Is the backup siz...
-
I got the below issue while Cloning ORACLE HOME from source to target. I have copied the binaries from source and initiated adcfclone. It ...
-
We have received an alert in the morning that the Primary Database is out of Sync. Primary and Standby are with difference of 9 archives. ...
No comments:
Post a Comment