<span style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);">1.创建临时表空间</span>
create temporary tablespace jxwsl_temp
tempfile 'E:\app\Administrator\oradata\orcl\jxwsl_temp.dbf'
size 32m
autoextend on next 32m maxsize 2048m
extent management local;
2.创建表空间
CREATE TABLESPACE jxwsl_data
LOGGING
DATAFILE 'E:\app\Administrator\oradata\orcl\jxwsl_data.DBF'
SIZE 32M
AUTOEXTEND ON
NEXT 32M MAXSIZE 2048M
EXTENT MANAGEMENT LOCAL;
3.创建用户
CREATE USER jxwsl IDENTIFIED BY focustar
DEFAULT TABLESPACE jxwsl_data
TEMPORARY TABLESPACE jxwsl_temp;
4.赋予DBA角色权限
GRANT dba TO jxwsl;