創建表空間
create
tablespace test
datafile 'd:\ORACLE90\oradata\test.dbf' size 50M
default storage (
initial 500k //
next 500k
min
extents 1 //存儲區
max
extents unlimited
pctincrease 0 );
創建
用戶名 密碼create user
sklee identified by
sklee default tablespace test;
grant resource , connect to sklee; //給用戶源文件 , 連接的權限
權限相關
grant dba to dding;--授予DBA權限
grant unlimited tablespace to dding;--授予不限制的表空間
grant select any table to dding;--授予查詢任何表
grant select any dictionary to dding;