当前位置:   article > 正文

【Oracle数据库】创建Schema及授权合集_oracle创建schema并授权

oracle创建schema并授权
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;
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/1015501
推荐阅读
相关标签
  

闽ICP备14008679号