create tablespace "T_OA" datafile 'D:/oradata/T_OA.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace T_WFENGINE datafile 'D:/oradata/T_WFENGINE.dbf' size 8M autoextend on next 5M maxsize 10M;
create tablespace T_PUBLISH datafile 'D:/oradata/T_PUBLISH.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace T_portal datafile 'D:/oradata/T_portal.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace I_OA datafile 'D:/oradata/I_OA.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace I_WFENGINE datafile 'D:/oradata/I_WFENGINE.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace I_PUBLISH datafile 'D:/oradata/I_PUBLISH.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace T_WORKFLOW datafile 'D:/oradata/T_WORKFLOW.dbf' size 20M autoextend on next 5M maxsize 200M;
create user oa identified by "oa" default tablespace T_OA;
grant resource,connect,dba to oa;
create user workflowengine identified by "workflowengine" default tablespace T_WFENGINE;
grant resource,connect,dba to workflowengine;
create user nwpub identified by "nwpub" default tablespace T_PUBLISH;
grant resource,connect,dba to nwpub;
create user portal identified by "portal" default tablespace T_portal;
grant resource,connect,dba to portal;
create user workflow identified by "workflow" default tablespace T_WORKFLOW;
grant resource,connect,dba to workflow;
grant select any table to oa
ALTER USER OA QUOTA UNLIMITED ON T_OA
grant select any table to workflow
ALTER USER WORKFLOW QUOTA UNLIMITED ON T_WORKFLOW
exp system/starsino@anjioa file=d:/anjiaoa.dmp owner=(oa,workflow)
imp system/starsino@anjioa file=d:/anjiaoa.dmp full=y
create tablespace T_WFENGINE datafile 'D:/oradata/T_WFENGINE.dbf' size 8M autoextend on next 5M maxsize 10M;
create tablespace T_PUBLISH datafile 'D:/oradata/T_PUBLISH.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace T_portal datafile 'D:/oradata/T_portal.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace I_OA datafile 'D:/oradata/I_OA.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace I_WFENGINE datafile 'D:/oradata/I_WFENGINE.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace I_PUBLISH datafile 'D:/oradata/I_PUBLISH.dbf' size 8M autoextend on next 5M maxsize 200M;
create tablespace T_WORKFLOW datafile 'D:/oradata/T_WORKFLOW.dbf' size 20M autoextend on next 5M maxsize 200M;
create user oa identified by "oa" default tablespace T_OA;
grant resource,connect,dba to oa;
create user workflowengine identified by "workflowengine" default tablespace T_WFENGINE;
grant resource,connect,dba to workflowengine;
create user nwpub identified by "nwpub" default tablespace T_PUBLISH;
grant resource,connect,dba to nwpub;
create user portal identified by "portal" default tablespace T_portal;
grant resource,connect,dba to portal;
create user workflow identified by "workflow" default tablespace T_WORKFLOW;
grant resource,connect,dba to workflow;
grant select any table to oa
ALTER USER OA QUOTA UNLIMITED ON T_OA
grant select any table to workflow
ALTER USER WORKFLOW QUOTA UNLIMITED ON T_WORKFLOW
exp system/starsino@anjioa file=d:/anjiaoa.dmp owner=(oa,workflow)
imp system/starsino@anjioa file=d:/anjiaoa.dmp full=y