Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Which SQL is executing
SELECT T.SQL_TEXT FROM V$SQLTEXT T,V$SESSION S
WHERE S.SQL_ADDRESS=T.ADDRESS ORDER BY T.PIECE;
Sam
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
Hi All,
From v$open_cursor, I know every SQL opened
and parsed in one session. Is there any way to know which SQL is running. Or
put another way, can all the SQLs in one session be sorted in timing
order dynamically?
Any clue would be much appreciated.
Chuan
Received on Mon Jun 04 2001 - 01:04:47 CDT