Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to fix the error message: pls-213 package standard not accessible

Status
Not open for further replies.

franco44

Technical User
Mar 27, 2002
1
0
0
US
please can sambody help me:
I try to use sql-plus and I got this message:
ora - 06553 : pl-213 package standard not accessible.
How can I make the package accessible?
Thanks
 
The package STANDARD (that belongs to the user SYS) is INVALID, there are a lot of reasons why this package turned to this state.
Use this to check the INVALID packages:
connect sys/passwd@yourdb
select object_name from obj where status = 'INVALID' and object_type = 'PACKAGE';

There, you have the packages that are invalid, then you have to recompile the invalid packages, until every of them are VALID.
Use this:
select 'ALTER PACKAGE ',object_name,' compile;' where status = 'INVALID' and object_type = 'PACKAGE';

Then execute the resulting rows from the query above.
Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top