After impdp, views compile with errors
Oracle database 19CR22 enterprise edition running on RedHat9
I have run a full import of a database and I am finding that some of the views have errors.
SQL> alter view INTERNAL_PERMISSION_VIEW compile; Warning: View altered with compilation errors. SQL> show errors;
No errors. SQL> select * from user_errors; NAME TYPE SEQUENCE LINE POSITION TEXT ATTRIBUTE MESSAGE_NUMBER INTERNAL_PERMISSION_VIEW VIEW 1 0 0
ORA-00942: table or view does not exist
ERROR 0
I have verified the tables used by the view exist. There is one table in other schema and that is the one that cannot be accessed during compilation.