Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: View creation!!Please help!
Hi all,
I tried using the DBMS_SQL package to execute the query .But, a new problem has arisen. After creating the procedure, when I try to execute it, it gives me the following error.ORA-01031: insufficient privileges
Can anyone please tell me which priveleges are to be set ?? Thanking u in anticipation. CREATE OR REPLACE PROCEDURE try AS 2 cursor1 INTEGER; 3 str varchar(200); 4 BEGIN
6 cursor1 := dbms_sql.open_cursor; 7 dbms_sql.parse(cursor1,str, dbms_sql.v7); 8 dbms_sql.close_cursor(cursor1); 9 end;
Procedure created.
execute try;
BEGIN try; END;
*
ERROR at line 1:
ORA-01031: insufficient privileges ORA-06512: at "SYS.DBMS_SYS_SQL", line 487 ORA-06512: at "SYS.DBMS_SQL", line 32 ORA-06512: at "SYSTEM.TRY", line 7 ORA-06512: at line 1
Thanks and Regards,
Deepa
Received on Wed Mar 29 2000 - 23:03:38 CST
![]() |
![]() |