Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Object sys.DBMS_SQLPA package is invalid.

Posted on 2014-02-21
2
Medium Priority
?
641 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
2 Comments
 
LVL 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
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 syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

916 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