創(chuàng)建表空間
create
tablespace test
datafile 'd:\ORACLE90\oradata\test.dbf' size 50M
default storage (
initial 500k //
next 500k
min
extents 1 //存儲(chǔ)區(qū)
max
extents unlimited
pctincrease 0 );
創(chuàng)建
用戶名 密碼create user
sklee identified by
sklee default tablespace test;
grant resource , connect to sklee; //給用戶源文件 , 連接的權(quán)限
權(quán)限相關(guān)
grant dba to dding;--授予DBA權(quán)限
grant unlimited tablespace to dding;--授予不限制的表空間
grant select any table to dding;--授予查詢?nèi)魏伪?nbsp;
grant select any dictionary to dding;