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
~ PREVIEW ~ The Creation Sessions ~ PREVIEW ~
Count others more
11. Count Others More
Philippians 2:1–5 - The Mind of Christ
Home
BSB
Big snow ball
  • Home
  • Contact
Clear keys input element