sdfasdf

CREATE TABLESPACE "DBSPACE"
DATAFILE 'D:\oracle\product\10.2.0\oradata\ICDADMIN\DBSPACE.dbf' SIZE 650M REUSE AUTOEXTEND ON NEXT  1280K 
MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL;

create user icdadmin
  identified by "icd"
  default tablespace DBSPACE
  temporary tablespace TEMP
  profile DEFAULT;
  
grant create session to icdadmin;
grant dba to icdadmin;  

exp icdadmin/icd@icdadmin file=d:\code\bak.dmp fromuser(portal) touser(icdadmin) log=d:\code\logexp

exp icdadmin/icd@icdadmin file=d:\code\bak.dmp fromuser(portal) touser(icdadmin) log=d:\code\logexp

imp icdadmin/icd@icdadmin file=e:\share\new.dat log=e:\share\logimp fromuser=(icdadmin) touser=(icdadmin)


你可能感兴趣的:(oracle,sql)