create tablespace EAR
logging
datafile 'E:\app\Administrator\oradata\orcl\EAR1.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
create temporary tablespace EAR_temp
tempfile 'E:\app\Administrator\oradata\orcl\EAR_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
create user EAR identified by 123
default tablespace EAR
temporary tablespace EAR_temp;
grant connect,resource,dba to EAR;
exp kf/zx@zxcc file=d:\zxcc.dmp full=y
exp EAR/123@orcl file = e:\ear.dmp full = n
imp archimguser/123@orcl file="E:\archimg20180122.dmp" full=y ignore=y
logging
datafile 'E:\app\Administrator\oradata\orcl\EAR1.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
create temporary tablespace EAR_temp
tempfile 'E:\app\Administrator\oradata\orcl\EAR_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
create user EAR identified by 123
default tablespace EAR
temporary tablespace EAR_temp;
grant connect,resource,dba to EAR;
exp kf/zx@zxcc file=d:\zxcc.dmp full=y
exp EAR/123@orcl file = e:\ear.dmp full = n
imp archimguser/123@orcl file="E:\archimg20180122.dmp" full=y ignore=y