Skip to main content
BSB
  • Home
  • Contact
  • Oracle active session
  • Oracle active session

Breadcrumb

  1. Home
  2. Oracle: Show your active session

Oracle: Show your active session

Tech
  • facebook-f
  • twitter
  • envelope
  • print

Here's a query to show your sessions and which is active.

select 
 case when audsid = sys_context('userenv','sessionid') then 'X' end me 
 ,v.sid
 ,v.serial#
 ,v.audsid
 ,v.username
 ,v.status
 ,v.osuser
 ,v.machine
 ,v.program
 ,v.*
from v$session v
where v.username = 'YOUR_ORACLE_USERNAME'
;
Oracle sessions

Read more articles

Newer
Stash changes to pull latest updates
Older
Sticky Notes: Stay signed in
  • Log in to post comments
1
min read
A- A+
  • facebook-f
  • twitter
  • envelope
  • print
Set Me Up Again
Keep it in the air
Keep It in the Air
Light has dawned upon the earth
Light Has Dawned Upon the Earth
Home
BSB
Big snow ball
  • Home
  • Contact
Clear keys input element