| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL to Create/Edit/Drop Users, Groups and Roles
Connor,
I know it was just a quick example, but the new user will default to SYSTEM as its default tablespace :o(
Regards,
Norman.
-----Original Message-----
From: Connor McDonald [mailto:connor_mcdonald_at_yahoo.com]
Posted At: Thursday, July 19, 2001 7:52 PM
Posted To: server
Conversation: PL/SQL to Create/Edit/Drop Users, Groups and Roles
Subject: Re: PL/SQL to Create/Edit/Drop Users, Groups and Roles
>> There is not - but any DDL (create user/etc etc) can be wrapped
>> trivially in PL/SQL, for example
>> create procedure CREATE_USER(x varchar2) is
>> begin
>> execute immediate 'create user '||x||' identified by '||x;
>> end;
Norman Dunbar EMail: NDunbar_at_LynxFinancialSystems.co.uk Database/Unix administrator Phone: 0113 289 6265 Lynx Financial Systems Ltd. Fax: 0113 201 7265 URL: http://www.LynxFinancialSystems.com ------------------------------------------------------------------------
![]() |
![]() |