Skip to content

Instantly share code, notes, and snippets.

@katjunior
Created October 1, 2013 12:16
Show Gist options
  • Save katjunior/6777578 to your computer and use it in GitHub Desktop.
Save katjunior/6777578 to your computer and use it in GitHub Desktop.
SQL por tras do processo
select s.sql_text,s.sql_fulltext from v$sql s
where sql_id in(SELECT A.SQL_ID FROM V$SESSION A,V$PROCESS B
WHERE A.PADDR=B.ADDR AND B.SPID='32507')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment