1.新建表空间(地址类比进行更换)
CREATE TABLESPACE 表空间名字
LOGGING
DATAFILE 'D:\app\Administrator\oradata\XZGFSPC/QISDATA.ora' SIZE 3000M
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ; //表空间自动扩展
2.创建用户以及默认表空间
create user 用户名
identified by 密码
default tablespace 表空间名
temporary tablespace TEMP
profile DEFAULT;
3.对用户授权语句
grant connect to BISADMIN; //连接权限
grant dba to BISADMIN; //dba权限
grant resource to BISADMIN; //数据源权限
grant execute any procedure to BISADMIN; //
grant select any dictionary to BISADMIN;
grant unlimited tablespace to BISADMIN;