look up the sql_text

maojinyu發表於2010-09-07
select t.sql_text
from v$process s, v$session n,v$sqltext t
where s.spid=18740
and n.PADDR = n.PADDR
and n.SQL_ADDRESS=t.ADDRESS order by t.ADDRESS[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9907339/viewspace-1038000/,如需轉載,請註明出處,否則將追究法律責任。

相關文章