现在的位置: 首页 > 综合 > 正文

Through the PID find the execution of the SQL

2014年07月29日 ⁄ 综合 ⁄ 共 124字 ⁄ 字号 评论关闭

SELECT b.sid, c.sql_text
  FROM v$process a, v$session b, v$sqlarea c
 WHERE a.addr = b.paddr
   AND b.sql_address = c.address

   AND a.spid = &pid

/

抱歉!评论已关闭.