-- Create the user create user newsafe identified by newsafe default tablespace USERS temporary tablespace TEMP profile DEFAULT; -- Grant/Revoke role privileges
這樣咱們建立了一個新用戶sql
GRANT CREATE SESSION TO newsafe GRANT CREATE TABLE TO newsafe grant connect,resource,dba to newsafe
這三句是給新用戶建立表等其餘權限的
建立完成以後數據庫