Home » RDBMS Server » Server Administration » DBMS_SQL. to create user..
DBMS_SQL. to create user.. [message #369962] Tue, 21 November 2000 02:10
Tarun Chhichhia
Messages: 6
Registered: November 2000
Junior Member
Hi,

I am using Dynamic SQL to create user based on the username and access level passed to the procedure.

I am doing this in a Package called user_maintenance, via a procedure create_user.

When I run the dynamic SQL as a part of a PL/SQL anonymous block , it works fine and creates a user as desired.

When I run the same through the Package, which compiles without any errors, create_user DBMS_SQL fails with the following error :

ORA-01031: insufficient privileges.

I am running everything in the system user, so has all possible access you can think of..

Any help appreciated..

Thanks

Tarun
Previous Topic: Change collumn name
Next Topic: Expertise needed on triggers
Goto Forum:
  


Current Time: Sat May 04 22:46:08 CDT 2024