码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-11-07 22:20:52      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:default   rom   pac   when   tables   Owner   username   rar   tab   

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

标签:default   rom   pac   when   tables   Owner   username   rar   tab   

原文地址:http://www.cnblogs.com/yjhlsbnf/p/7800947.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!