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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using dbms_repair

Status
Not open for further replies.

penzk001

Technical User
Mar 11, 2003
82
MT
I want to analyze some tables/indexes using the procedure dbms_repair.check_object(). Prior running check_object I need to run sys.dbms_repair.admin_tables(). However upon running this procedure I get PLS-00904: insufficient privilege to access object SYS.DBMS_REPAIR.

The documentatino says: The package is owned by SYS. Execution privilege is not granted to other users.

The user I am using is not sys, how can I run the procedures under package sys from user oradba.
 
Login as SYS (or ask your DBA to do it ) and issue:

grant execute on dbms_repair to oradba
/


Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top