Oracle
오라클 INVALID OBJECT 조회
고인돌개발자
2021. 9. 8. 14:28
오라클 INVALID OBJECT 조회
관리자모드
SELECT
object_type,
owner,
object_name,
status
FROM
all_objects -- dba_objects (DBA권한)
-- user_objects -- (User 권한)
WHERE object_type in ('VIEW','FUNCTION','TRIGGER','PROCEDURE','PACKAGE', 'PACKAGE BODY') AND status='INVALID'
AND owner = 'METS18940G'
ORDER BY 1 ;
-- 유저모드
SELECT
object_type,
object_name,
status
FROM
-- all_objects -- dba_objects (DBA권한)
user_objects -- (User 권한)
WHERE object_type in ('VIEW','FUNCTION','TRIGGER','PROCEDURE','PACKAGE', 'PACKAGE BODY') AND status='INVALID'
--AND owner = 'METS18940G'
ORDER BY 1 ;