Matar sesiones de Oracle que bloquean la compilación de un paquete
SELECT ‘ALTER SYSTEM KILL SESSION ‘||””||sid||’,’||serial||”’;’ FROM ( SELECT sid, serial# AS SERIAL FROM v$session WHERE sid IN (SELECT SID FROM v$access WHERE object = ‘XX_PACKAGE_NAME_XX’) )select ‘ALTER SYSTEM KILL SESSION ‘||””||sid||’,’||serial||”’;’ from (...