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 FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 26-Apr-2012***

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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms