Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: create user in PL/SQL package e.t.c.

Re: create user in PL/SQL package e.t.c.

From: Tanel Poder <change_to_my_first_name_at_integrid.info>
Date: Tue, 16 Sep 2003 15:42:01 +0300
Message-ID: <3f67051a$1_1@news.estpak.ee>


Hi!

> 1. How I can create user inside PL/SQL package?
> If it is not possible, give tips.
>
> 2. How I can get roles and system privileges granted to user?

SQL> exec execute immediate 'create user y identified by y';

PL/SQL procedure successfully completed.

SQL> exec execute immediate 'grant create session to y';

PL/SQL procedure successfully completed.

SQL> connect y/y
Connected.
SQL> Tanel. Received on Tue Sep 16 2003 - 07:42:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US