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