1、sys dba登录
2、创建临时表空间
create temporary tablespace wf_temp
tempfile 'C:\APP\ADMINISTRATOR\ORADATA\PLANNING\wf_temp.DBF'
size 50m
autoextend on
next 50m maxsize 1024m
extent management local;
3、创建表空间
create tablespace wf_data
logging
datafile 'C:\APP\ADMINISTRATOR\ORADATA\PLANNING\wf_data.DBF'
size 50m
autoextend on
next 50m maxsize 1024m
extent management local;
4、创建用户并制定表空间
create user workflow identified by password
default tablespace wf_data
temporary tablespace wf_temp;
5、授予用户权限
grant connect,resource,dba to workflow;