Press "Enter" to skip to content


列出当前数据库 show parameter db_name
查看字符集 select userenv(‘language’) from dual

create user zhukun identified by zhukun default tablespace users temporary tablespace temp;

查看当前用户的缺省表空间 select username,default_tablespace from user_users
查看当前用户的角色 select * from user_role_privs
查看当前用户的系统权限 select * from user_sys_privs
查看当前用户的表级权限 select * from user_tab_privs
查看用户下所有的表 select * from user_tables

One Comment

  1. pba 2012-03-31


Leave a Reply

Your email address will not be published. Required fields are marked *