DCampo,
Actually, yes, a user may store her/his objects in any tablespace for which s/he has
quota. Additionally, a user has a
default tablespace, which, unfortunately, is the
SYSTEM tablespace if a DBA creates a user without explicitly assigning a default tablespace (besides the SYSTEM tablespace) for the user. Having a default tablespace does not mean that the user can store objects/data in that tablespace without the DBA granting
quota on that (or any other tablespace).
If a user wishes to store an object (or its data) in a tablespace that differs from her/his default tablespace, then the user must explicitly indicate, at object-create time, which tablespace s/he wishes for the object.
The way that a DBA grants quota to a user is:
Code:
alter user <username> quota <n M | UNLIMITED> on data1;
(for example)
SQL> alter user fred quota 10m on data1;
User altered.
Then, to specify a specific tablespace to hold an object, you can say:
Code:
create table x (y number) tablespace data1;
Table created.
Let us know if this answers your questions.
![[santa] [santa] [santa]](/data/assets/smilies/santa.gif)
Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services:
www.dasages.com]