Database Utilities (MOSC)

MOSC Banner

After impdp, views compile with errors

edited Jun 21, 2024 3:41PM in Database Utilities (MOSC) 7 commentsAnswered ✓

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center