windows导入数据的操作步骤

---1、建表空间
CREATE SMALLFILE TABLESPACE DATA_ISC
  DATAFILE 'D:\app\Administrator\oradata\mctetm\DATA_ISC.dbf'
  SIZE 512M
  REUSE
  AUTOEXTEND ON NEXT 32M
  MAXSIZE UNLIMITED
  LOGGING
  EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;


---2、建用户和授权
-- Create the user 
create user ISC
  identified by isc
  default tablespace DATA_ISC;
  
  
-- Grant/Revoke role privileges 
grant connect to ISC;
grant exp_full_database to ISC;
grant imp_full_database to ISC;
grant resource to ISC;
-- Grant/Revoke system privileges 
grant alter user to ISC;
grant create any view to ISC;
grant create session to ISC;
grant create user to ISC;
grant drop any view to ISC;
grant drop user to ISC;
grant unlimited tablespace to ISC;

---3、导入数据库
本地Windows数据库导入,使用cmd进行操作:imp isc/[email protected]/mctetm file=d:\isc.dmp  full=y;

猜你喜欢

转载自blog.csdn.net/fei_yanzi/article/details/92968620