|    
			
				17/09/2010, 05:24
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: junio-2007 
						Mensajes: 891
					 Antigüedad: 18 años, 4 meses Puntos: 43 |  | 
  |  Respuesta: Procedimientos que no se dejan compilar  
  Yo uso esta query para ver si algún paquete está pillado ( no bloqueado ) y por quien, mira a ver si te vale.
 select /*+ CHOOSE */ a.sid, a.serial#, A.INST_ID,a.username, a.username "DB User",
 a.osuser, a.status, a.terminal, a.type ptype, b.owner, b.object, b.type, a.USERNAME  "DB User"
 from gv$session a, gv$access b
 where a.sid=b.sid and a.inst_id = b.inst_id
 and b.type<>'NON-EXISTENT'
 and (b.owner is not null) and (b.owner<>'SYSTEM')  and (b.owner<>'SYS')
 AND B.OBJECT like 'NOMBRE_DEL_PAQUETE'
 ORDER BY STATUS, OBJECT , TYPE
 
 Si el STATUS te aparece como ACTIVE, ese paquete si lo intentas compilar te dará TIMEOUT y no podrás.
     |