Sunday, July 1, 2012

Active Sessions in Oracle Database

Just Save This Sql As Script And Run it :




  1. SELECT SID, Serial#, UserName, Status, SchemaName, Logon_Time
  2. FROM V$Session
  3. WHERE
  4. Status=‘ACTIVE’ AND
  5. UserName IS NOT NULL;





Enjoy


Thank you
Osama mustafa


No comments:

Post a Comment