create user USER_TEST identified by password1
default tablespace Ts_USER
temporary tablespace Temp_USER
profile DEFAULT;
grant connect to USER_TEST;
grant resource to USER_TEST;
grant CREATE SYNONYM to USER_TEST;
grant CREATE CLUSTER to USER_TEST;
grant CREATE INDEXTYPE to USER_TEST;
grant CREATE PROCEDURE to USER_TEST;
grant CREATE SEQUENCE to USER_TEST;
grant CREATE SESSION to USER_TEST;
grant CREATE TABLE to USER_TEST;
grant CREATE TRIGGER to USER_TEST;
grant CREATE TYPE to USER_TEST;
grant CREATE VIEW to USER_TEST;
grant DROP ANY SYNONYM to USER_TEST;
----表授权
GRANT DELETE,UPDATE,INSERT,SELECT ON USER_TEST.TABLE1 TO USER_TEST2;
【Oracle数据库】创建Schema及授权合集
最新推荐文章于 2026-06-22 14:17:02 发布
本文详细介绍在Oracle数据库中创建用户USER_TEST的过程,包括设置默认表空间、临时表空间、配置多种对象权限,如创建表、视图等,以及授予连接、资源权限,并对特定表进行增删改查授权。

4806

被折叠的 条评论
为什么被折叠?



