create user 用户名 IDENTIFIED by 密码 [default tablespace 表空间名]---创建用户 grant create session to 用户名;--给用户授权登录 drop user 用户名;--删除用户 1. 2. 3. 4. 5. --授予用户操作表空间的权限: grant unlimited tablespace to 用户名; grant create tablespace to 用户名; grant alter ...
5. SYS账户收回user_a的CREATE TABLE权限: 6. 此时user_b仍可具有CREATE TABLE权限,尽管这里报错: 注:这个错是说user_b没有默认表空间USERS的使用权限,并不是没有建表权限,此时需要SYS账户使用GRANT UNLIMITED TABLESPACE TO user_b或ALTER USER user_b quota 100m on USERS让user_b用户可以使用USERS表空间: ...
5. SYS账户收回user_a的CREATE TABLE权限: 6. 此时user_b仍可具有CREATE TABLE权限,尽管这里报错: 注:这个错是说user_b没有默认表空间USERS的使用权限,并不是没有建表权限,此时需要SYS账户使用GRANT UNLIMITED TABLESPACE TO user_b或ALTER USER user_b quota 100m on USERS让user_b用户可以使用USERS表空间: ...
5. SYS账户收回user_a的CREATE TABLE权限: 6. 此时user_b仍可具有CREATE TABLE权限,尽管这里报错: 注:这个错是说user_b没有默认表空间USERS的使用权限,并不是没有建表权限,此时需要SYS账户使用GRANT UNLIMITED TABLESPACE TO user_b或ALTER USER user_b quota 100m on USERS让user_b用户可以使用USERS表空间: ...
注:这个错是说user_b没有默认表空间USERS的使用权限,并不是没有建表权限,此时需要SYS账户使用GRANT UNLIMITED TABLESPACE TO user_b或ALTER USER user_b quota 100m on USERS让user_b用户可以使用USERS表空间: 总结: 1. 带有WITH ADMIN OPTION的权限授予方式,可传递授权。 2. 带有WITH ADMIN OPTION的权限授予...
2.建立表的系统权限: GRANT CREATE TABLE TO tom ; 3.创建profile文件:CREATE PROFILE pro1 LIMIT 4.修改用户的profile文件:ALTER user test1 PROFILE pro1; 5.允许用户使用users表10M空间配额:ALTER user tom QUOTA 10M ON USERS; 6.Tom用户任意使用表空间:GRANT UNLIMITED TABLESPACE TO tom; ...
SQL>grant unlimited tablespace to test;这个时候用户就拥有了创建表的权限 由于表是用户test的 相应的他就拥有了对创建的表的增删查改的权限了 3、查看用户拥有什么权限可以通过查询一个系统的视图(数字字典)SQL>select * from user_sys_privs;这样就可以知道当前用户的权限 4、撤销权限 SQL> revoke create table...
MANAGE TABLESPACE Take tablespaces offline and online and begin and end tablespace backups. UNLIMITED TABLESPACE Use an unlimited amount of any tablespace. This privilege overrides any specific quotas assigned. If you revoke this privilege from a user, then the user's schema objects remain but fur...
The owner of the schema containing the table must have space quota on the tablespace to contain the table. ALTER ANY TABLE Alter a table or view in any schema except SYS, AUDSYS. BACKUP ANY TABLE Use the Export utility to incrementally export objects from the schema of other users ...
grant CREATE SYNONYM to TEST; grant CREATE ANY SYNONYM to TEST; grant UNLIMITED TABLESPACE to TEST; Oracle Object Privileges These are granted on database objects (such as a table, view, procedure, etc.…) The owner has all the privilege’s and an owner can give specific privilege’s on ...