Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Dynamic Sql Problem
Hi,
for a procedure to work properly, the necessary rights have to be
granted directly to you, not to a role you have.
Rolf
Param wrote:
>
> Hi,
>
> I have to write a small Stored Procedure which will drop and create a
> sequence.
>
> But I am facing a problem. This same SP works fine if the statement is a
> 'DROP' but
> for a 'CREATE'.
>
> I am getting error 1031 - Insufficient Privileges for a create
> statement.
> I am able to CREATE and DROP everything from the SQL Prompt.
>
> I have also tried executing the very same code as a PL/SQL Block and it
> works.
Received on Thu Sep 03 1998 - 04:54:53 CDT
![]() |
![]() |