My Oracle Support Banner

When Trying to Compile Package body dbms_xplan gives error ORA-00980: synonym translation is no longer valid (Doc ID 467794.1)

Last updated on APRIL 12, 2022

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Goal

 Compiling the package body dbms_xplan is giving errors:

 

SQL> @prvtxpln.plb

Warning: Package Body created with compilation errors.

Errors for PACKAGE BODY DBMS_XPLAN:

LINE/COL ERROR
-------- -----------------------------------------------------------------
1507/9 PL/SQL: SQL Statement ignored
1511/34 PL/SQL: ORA-00980: synonym translation is no longer valid
1518/9 PL/SQL: SQL Statement ignored
1520/34 PL/SQL: ORA-00980: synonym translation is no longer valid
1526/9 PL/SQL: SQL Statement ignored
1540/27 PL/SQL: ORA-00980: synonym translation is no longer valid
SQL>


Solution

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
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.