ORACLE 创建只读用户


create user cxuser01 identified by test123  default tablespace USERS temporary tablespace TEMP;

--创建用户

 

grant connect,resource,select any table,select any dictionary,create any synonym to cxuser01;

赋权连接、查询所有表、字典及创建同义词(表别名)权限

 

revoke unlimited tablespace from cxuser01;

--撤销可以在其他表空间随意建表权限


alter user cxuser01 identified by "cxuser01";

--修改用户密码

 

如果需要修改表权限

grant insert,update,select,delete on scott.test to cxuser01;

--增加test表的增删改查权限

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM