oracle 语句

用户查询
select username,account_status,default_tablespace from user_users/dba_users
表空间查询
select tablespace_name from user_tablespaces/dba_tablespaces;
创建用户
create user news identified by news default tablespace news_tablespace

grant connect,resource to news;  --表示把 connect,resource权限授予news用户

grant dba to news;  --表示把 dba权限授予给news用户

猜你喜欢

转载自bigsea.iteye.com/blog/1564931