如何得到某个用户的默认表空间和临时表空间????

hachenzhonghua 2003-04-25 09:44:01
每个用户创建的时候都有默认表空间和临时表空间,建表只要不指定表空间名都会将表建立在该表空间中,我如何通过代码指导当前用户的默认表空间和临时表空间呢?
...全文
128 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
beckhambobo 2003-04-25
  • 打赏
  • 举报
回复
创建用户不是以指定default空间与temporary空间.
hrb_qiuyb 2003-04-25
  • 打赏
  • 举报
回复
举例:
alter user system
default tablespace user
temporary tablespace temp;
hachenzhonghua 2003-04-25
  • 打赏
  • 举报
回复
改变用户的默认表空间和临时表空间的 Alter user 语法???
hrb_qiuyb 2003-04-25
  • 打赏
  • 举报
回复
SELECT default_tablespace ,temporary_tablespace FROM user_users
w_tsinghua 2003-04-25
  • 打赏
  • 举报
回复
select username,default_tablespace,temporary_tablespace from user_users;
用alter user 改变用户的默认表空间和临时表空间
hachenzhonghua 2003-04-25
  • 打赏
  • 举报
回复
明白了,给分!!!
请给出Alter User Command,提前谢过
black_snail 2003-04-25
  • 打赏
  • 举报
回复
the default tablespace and temp tablespace for the specific user are assigned during the user creation .

you can use alter user command to change it .
black_snail 2003-04-25
  • 打赏
  • 举报
回复
select * from user_users
check it

17,380

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧