码迷,mamicode.com
首页 > 数据库 > 详细

Oracle查看用户所在表空间

时间:2014-09-10 17:16:40      阅读:324      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   ar   strong   数据   art   div   

 

查看当前用户所在表空间

  1. select username,default_tablespace from user_users;  


修改用户默认表空间

  1. alter user 用户名 default tablespace 新表空间;  


查看用户所拥有的角色

  1. select * from user_role_privs;  


查询数据库中有多少张表

    1. select * from user_tables; 

Oracle查看用户所在表空间

标签:style   blog   http   color   ar   strong   数据   art   div   

原文地址:http://www.cnblogs.com/zuo-zijing/p/3964559.html

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