Can you create a default tablespace? [message #52939] |
Wed, 21 August 2002 05:25 |
rodger
Messages: 10 Registered: August 2002
|
Junior Member |
|
|
When you create a user for example:
CREATE USER <name> IDENTIFIED BY <password>;
it creates this user with the default tablespace of SYSTEM. I know I can do:
CREATE USER <name> IDENTIFIED BY <password> DEFAULT TABLESPACE USERS;
but is there a way I can change the default default tablespace so that if a default tablespace is not specified when a user is created it will be USERS instead of SYSTEM?
|
|
|
Re: Can you create a default tablespace? [message #52950 is a reply to message #52939] |
Wed, 21 August 2002 10:57 |
Sanjay
Messages: 236 Registered: July 2000
|
Senior Member |
|
|
I don't think so.
Analyze it. SYSTEM tablespace is ALWAYS there. So the default is SYSTEM (including for temp). As far as USERS is concerned, it is created by you and may not be there in all the databases (I have some DB's like that).
How difficult will it be for you to type:
create user -- identified by --
default tablespace USERS
temporary tablespce TEMP
quota unlimited on USERS
quota unlimited on TEMP;
|
|
|
|
|