oracle查看用户所在的表空间

1. 查看当前用户的缺省表空间

select username,default_tablespace from user_users;

2. 查看当前用户的角色

select * from user_role_privs;

3. 查看当前用户的系统权限和表级权限

select * from user_sys_privs;

select * from user_tab_privs;

4. 查看用户下的所有表

select * from user_tables;

oracle将一个用户的某个表所有权限放开给另一个用户

猜你喜欢

转载自guanning.iteye.com/blog/2216076