Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: create user help
If you still have access to the original db, you could go in there and write some dynamic SQL to build your create user script. Something like this:
select 'create user '||username||' identified by {temporary password}
default tablespace '||default_tablespace||' temporary tablespace
'||temporary_tablespace||';'
from dba_users
where username not in ('SYSTEM','SYS');
Spool this to a file and run it on the new database before you import.
Matt
steve128_at_my-deja.com wrote:
> I would like to create hundreds of users, the same of an exported db
> and would like to know if there is a simple way to create it (execute
> it in sql).
>
> Your help is very appreciated.
>
> Steve
>
> Sent via Deja.com
> http://www.deja.com/
Received on Mon Feb 05 2001 - 17:06:40 CST