先通过help-about application -找到SID,通过第一段sql查询出sql_address,带入第二段sql查询出后台语句
SELECT s.prev_sql_addr, s.sql_address --, s.*
FROM v$session s
WHERE 1 = 1
and s.client_identifier = ‘SYSADMIN’
and s.sid = 3227;
SELECT sql_text
FROM v$sqltext_with_newlines t
WHERE t.address = ‘000000039D437E68’
order by t.PIECE;