1. 程式人生 > >when create a table,then show error ora-00952 tablespace tsb_1 not exist

when create a table,then show error ora-00952 tablespace tsb_1 not exist

check alter where temporary default ora emp rom esp

QUESTION:When create a table,then show error ora-00952 tablespace tsb_1 not exist.

STEP:

1.select user table tablespace.

SELECT username,DEFAULT_TABLESPACE,temporary_tablespace FROM dba_users WHERE username=‘LJB‘;

2.select user owner tablespace.

SELECT * FROM User_Tablespaces;

3.alter user default tablespace.

ALTER USER ljb DEFAULT TABLESPACE USERS;

4.checking tablespace

SELECT username,DEFAULT_TABLESPACE,temporary_tablespace FROM dba_users WHERE username=‘LJB‘;

when create a table,then show error ora-00952 tablespace tsb_1 not exist