Oracle創建表空間語句

1,創建表空間

create tablespace XXX

logging

datafile ‘D:\app\Administrator\oradata\orcl\XXX.dbf’ (datafile目錄)

size 50m

autoextend on

next 50m maxsize 20480m ;

2.創建用戶
create user User
identified by User
default tablespace XXX
temporary tablespace temp; (用默認的臨時表空間就行)

3.授權
grant connect,resource,dba to ULTRABPP_TK;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章