Reputation: 9335
When creating a procedure/function some are created with compilation errors;
Procedure created.
Warning: Procedure created with compilation errors.
Procedure created.
Procedure created.
How to get the list of procedure/ functions
which are created compilation error
in Oracle
?
Upvotes: 0
Views: 360
Reputation: 6526
replace owner with your schema
select * from all_objects
where status = 'INVALID'
and owner = 'SCOTT' ;
Upvotes: 2
Reputation: 76508
Query SYS.USER_ERRORS
:
select * from SYS.USER_ERRORS where type = 'PROCEDURE'
If there is no guarantee that the user running those is the same user you are logged in with, then query SYS.ALL_ERRORS
.
Upvotes: 3