天天看點

在oracle資料庫本地建立使用者表空間

1、建立使用者 dppro(使用者)

         create user dppro(使用者) identified by dppro(密碼);

2、建立一個新的表空間(專屬于dppro項目)

         create tablespace dppro_tablespace(表空間) datafile 'D:\oracle_tablespace\dppro.DBF'     size    1500M     autoextend on next 5M maxsize 3000M; 

3、将表空間配置設定給指定的使用者

 alter user dppro default tablespace dppro_tablespace;

4、給使用者授權

 grant create session,create table,create sequence,UNLIMITED TABLESPACE to dppro;