|
- select * from dba_users;
- select * from user$ where name='HR';
- create user user1 identified by oracle_4U;
- select * from role_sys_privs rsp
- where rsp.role='CONNECT';
-
- select * from role_tab_privs rtp
- where rtp.role='CONNECT';
-
- select * from role_role_privs rrp
- where rrp.role='CONNECT';
-
- select * from dba_sys_privs sp
- where sp.grantee='USER1';
-
- select * from dba_tab_privs tp
- where tp.grantee='USER1';
-
- select * from dba_role_privs rp
- where rp.grantee='USER1';
-
- grant connect to user1;
-
- grant create table to user1;
-
- select * from dba_ts_quotas;
-
- alter user user1 quota 1M on users;
-
- alter user user1 quota 0 on users;
复制代码
|
|