加载中…
个人资料
东郊庄主
东郊庄主
  • 博客等级:
  • 博客积分:0
  • 博客访问:2,702
  • 关注人气:19
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

oracle创建只读用户

(2023-01-20 23:26:33)

参考文档:

https://answers.sap.com/questions/6236648/create-read-only-user-in-oracle-10204.html

1) create user audit_ro identified by Cbest2023;

2) Create role READONLYROLE; { PPMROLE is the role name which will be later assigned to the user PPMTEST}

3) Grant CONNECT to READONLYROLE; { CONNECT role allows the user to connect to oracle database}

4) Grant SELECT_CATALOG_ROLE to READONLYROLE; { SELECT_CATALOG_ROLE role allows the user to view the oracle data dictionary}

5) GRANT SELECT ANY TABLE to READONLYROLE; { "SELECT ANY TABLE" privilege allows the user to view the table which is present in the SAP schema}

6) Grant READONLYROLE to audit_ro; { Assigning the role PPMROLE to the user PPMTEST}

7) COMMIT;

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有