Link to home
Start Free TrialLog in
Avatar of joe_echavarria
joe_echavarriaFlag for Dominican Republic

asked on

Object sys.DBMS_SQLPA package is invalid.

Hi,

  The current object is invalid.  

   SYS      DBMS_SQLPA      PACKAGE BODY      INVALID


  What is the procedure to make it invalid ?, i been searching the internet and i have found the below procedure to fix it.


drop table plan_table
@?/rdbms/admin/utlxplan.sql
@?/rdbms/admin/prvtspao.plb
@?/rdbms/admin/utlrp.sql


select OWNER,object_name,object_type from dba_objects where object_name='PLAN_TABLE';

SYS      PLAN_TABLE      TABLE
PUBLIC      PLAN_TABLE      SYNONYM
SYSTEM      PLAN_TABLE      TABLE


What would be the table to be dropped ?

Is that the correct way to fix this error ?

Regards,
ASKER CERTIFIED SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of joe_echavarria

ASKER

I just needed to recompile it.  Is not invalid now.