Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: sql run by users
Sarath,
I use the following sql to find out who is logged in on what terminal
and their sql if present.
S.STATUS STAT, S.SID SSID, S.SERIAL# SSER,
AND S.USERNAME IS NOT NULL AND S.SQL_ADDRESS=SA.ADDRESS (+) AND S.SQL_HASH_VALUE=SA.HASH_VALUE (+)
>>> sarath_kumar0_at_yahoo.com 01/10/03 01:45PM >>>
Dear List,
how to know what sql is being run by a user session.
The problem is all users use the same application
login.
TIA
sarath
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: sarath kumar INET: sarath_kumar0_at_yahoo.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Ron Rogers INET: RROGERS_at_galottery.org Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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).Received on Fri Jan 10 2003 - 13:04:17 CST