Solved

Object sys.DBMS_SQLPA package is invalid.

Posted on 2014-02-21
2
622 Views
Last Modified: 2014-04-22
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,
0
Comment
Question by:joe_echavarria
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 39877907
Have you manually tried to recompile it?  Objects become invalid all the time.

A manual recompile should also allow you to see the errors generated if it fails to recompile.

>>Is that the correct way to fix this error ?

@?/rdbms/admin/utlrp.sql will recompile all objects in dependency order so I would first start with this.

It can take a while to run so be patient.

>>What would be the table to be dropped ?

What table?
0
 
LVL 1

Author Comment

by:joe_echavarria
ID: 40015134
I just needed to recompile it.  Is not invalid now.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Suggested Courses

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question