ORA-00942 found while accessing sys.v$instance
(Doc ID 2808578.1)
Last updated on SEPTEMBER 29, 2021
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 and later
Information in this document applies to any platform.
The compilation of the package was failing because of the line which points to a SELECT statement against sys.v$instance.
=========== Failing Package_Body snip ============
SELECT version INTO l_rdbms_version FROM sys.v$instance; <<<<<<<<<<<<<< sys.v$instance
The package is being executed as SYSTEM user, so while verifying the failing SELECT on sys.v$instance while connected as SYSTEM user shows,
it is failing with ORA-00942:
SQL> show user
USER is "SYSTEM"
SQL> SELECT version FROM sys.v$instance;
SELECT version FROM sys.v$instance
ERROR at line 1:
ORA-00942: table or view does not exist
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document