Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Who has package open
Just wrote this now (9.2). Run it while the compilation is waiting:
select *
from v$session
where saddr in (select kgllkuse
from DBA_KGLLOCK where kgllktype = 'Pin' and kgllkreq = 0 and kgllkhdl in (select p1raw from v$session_wait where event like '%libr%pin%'))
Probably there is many other ways.
Regards,
Waleed
-----Original Message-----
[mailto:Charlie_Mengler_at_HomeDepot.com]
Sent: Thursday, January 16, 2003 10:14 AM
To: Multiple recipients of list ORACLE-L
I realize that a package can't be recompiled while a session has it open.
How do I identify which session has a package open?
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
INET: Charlie_Mengler_at_HomeDepot.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Jan 16 2003 - 11:35:03 CST
![]() |
![]() |