Some usefuls commands to troubleshoot:
select count(*) from USER_OBJECTS where OBJECT_TYPE = 'TABLE';
select count(*) from user_objects where object_type='TYPE';
select count(*) from user_tables;
select * from USER_OBJECTS where STATUS = 'INVALID';
exec dbms_utility.compile_schema( 'MYUSER' );
alter package MYPACKAGE COMPILE;
alter package MYPACKAGE COMPILE BODY;
show errors;
select * from user_errors ;
References:
https://oracle-base.com/articles/misc/recompiling-invalid-schema-objects
https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:637156098168
Tuesday, August 14, 2018
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment