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;
给用户授权为dba权限
grant dba to dppro;
5、删除表空间
drop tablespace dppro_tablespace including contents and datafiles