【Oracle】基础:表空间、用户、分配权限

1、创建表空间:

(1.)创建默认表空间

create tablespace eas_d_center1_standard datafile  'D:\oracleData\easxt1.dbf' size 2048m;

(2.)创建临时表空间

create temporary tablespace eas_t_center1_standard tempfile  'D:\oracleData\easxt2.dbf' size 300m;

2、创建用户

create user test1
identified by test1
default tablespace eas_d_center1_standard
temporary tablespace eas_t_center1_standard
account unlock;

3、给用户授权

grant resource,connect,dba to test1;

4、删除用户

Drop user test1 cascade;

原文地址:https://www.cnblogs.com/masb/p/2340567.html