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表的增刪改查權限