創建用戶
創建表空間create tablespace test
datafile 'd:\ORACLE90\oradata\test.dbf' size 50M
default storage (initial 500k //
next 500k
minextents 1 //存儲區
maxextents 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;
posted on 2012-04-27 23:24 youngturk 閱讀(198) 評論(0) 編輯 收藏 所屬分類: Oracle