Warning: Creating default object from empty value in /home/customer/www/gavinsoorma.com/public_html/wp-content/themes/specular/admin/inc/class.redux_filesystem.php on line 29
Identify database SID based on OS Process ID | Oracle DBA – Tips and Techniques
News
Perth, Australia
+ (61) 417713124
prosolutions@gavinsoorma.com

Identify database SID based on OS Process ID

  • Posted by Gavin Soorma
  • On June 29, 2009
  • 0 Comments
col sid format 999999
col username format a20
col osuser format a15
select b.spid,a.sid, a.serial#,a.username, a.osuser
from v$session a, v$process b
where a.paddr= b.addr
and b.spid='&spid'
order by b.spid;
 7

0 Comments

Leave Reply

Your email address will not be published. Required fields are marked *