Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT sess.process, sess.status, sess.username, sess.schemaname, SQL.sql_text
- FROM v$session sess,
- v$sql SQL
- WHERE SQL.sql_id(+) = sess.sql_id
- ORDER BY username;
Advertisement