Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL TEXT SEARCH
Seema,
This will show you all SQL in the SQL area for a certain SID, as well as showing you the currently executing cursor.. Simply input the SID value you are interested in where it says (*SID*)..
select s.sid sid, c.sql_text sql_text, c.address address, ltrim(to_char(c.hash_value, '9999999999'), ' ') hash_value, substrb(' ', 1, 2) execcur from v$open_cursor c, v$session s where c.saddr = s.saddr
select s.sid sid, c.sql_text sql_text, c.address address, ltrim(to_char(c.hash_value, '9999999999'), ' ') hash_value, substrb('* ', 1, 2) execcur from v$open_cursor c, v$session s where c.saddr = s.saddr
HTH Mark
Mark Leith | T: +44 (0)1905 330 281 Sales & Marketing | F: +44 (0)870 127 5283 Cool Tools UK Ltd | E: mark_at_cool-tools.co.uk =================================================== http://www.cool-tools.co.uk Maximising throughput & performance
-----Original Message-----
Sent: 11 March 2002 15:28
To: Multiple recipients of list ORACLE-L
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Seema Singh INET: oracledbam_at_hotmail.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Mon Mar 11 2002 - 10:15:21 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Mark Leith INET: mark_at_cool-tools.co.uk Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |