Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

01031. 00000 - "insufficient privileges"

chekkiligiliJul 22 2013 — edited Jul 22 2013

Dear Friends,

I am getting below error while running a procedure.

Error starting at line 32 in command:

BEGIN ADDTABLEIFNOTEXISTS(); END;

Error report:

ORA-01031: insufficient privileges

ORA-06512: at "BOP.ADDTABLEIFNOTEXISTS", line 6

ORA-06512: at line 1

01031. 00000 -  "insufficient privileges"

*Cause:    An attempt was made to change the current username or password

           without the appropriate privilege. This error also occurs if

           attempting to install a database without the necessary operating

           system privileges.

           When Trusted Oracle is configure in DBMS MAC, this error may occur

           if the user was granted the necessary privilege at a higher label

           than the current login.

*Action:   Ask the database administrator to perform the operation or grant

           the required privileges.

           For Trusted Oracle users getting this error although granted the

           the appropriate privilege at a higher label, ask the database

           administrator to regrant the privilege at the appropriate label.

the User contain DBA ROLE, And i tried to provide  EXECUTE ANY PROCEDURE to that user, But still i am getting the same error.

I tried with "GRANT EXECUTE ANY PROCEDURE TO BOP WITH ADMIN OPTION;"

"GRANT EXECUTE ANY PROCEDURE TO BOP;" but no use

Do i need to give any other permissions?

This post has been answered by Frank Kulash on Jul 22 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2013
Added on Jul 22 2013
14 comments
658 views