[펌글] 오라클(Oracle)에서 SPID 얻어오는 쿼리
– 출처 : http://www.dbatodba.com/oracle/how-to/how-to-get-the-sid-spid-username-terminal-application-from-oracle-database – SELECT s.sid ,p.spid ,substr(s.username, 1, 20) username ,s.terminal ,p.program ,s.paddr FROM v$session s ,v$process p WHERE s.paddr = p.addr AND s.sid = (SELECT sid FROM v$mystat WHERE rownum = 1);… Read More »