oracle create tablespace、user and grant

--創建表空間

create tablespace tableName datafile 'e:oracle/dbName.dbf' 
size 1024M autoextend on next 100M maxsize unlimited;

 

--創建用戶

create user userName
       identified by "password"
       default tablespace tableName;

 --授權:連接權限

grant connect to userName;

 

--授權:其它所有權限

grant resource to userName;

 

發佈了17 篇原創文章 · 獲贊 0 · 訪問量 4004
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章