Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> execute privileges error
I created the following procedure under SYSTEM but keep getting the following error
ERROR at line 1:
ORA-01031: insufficient privileges ORA-06512: at "SYS.DBMS_SYS_SQL", line 239 ORA-06512: at "SYS.DBMS_SQL", line 25 ORA-06512: at "SYSTEM.TEST_DBMSSQL", line 7 ORA-06512: at line 1
SYSTEM has been granted execute any procedure privilege but it does not help.
The procedure would only work when created under SYS schema and logging in as SYS.
What is wrong???
create or replace procedure test_dbmssql as
cursor_name NUMBER; ignore NUMBER;
![]() |
![]() |