将dmp导入到自己的ORACLE数据库中

cmd下进入 ORACLE

sqlplus system/密码 

1、创建自己的表空间

create tablespace testspace datafile 'd:\oracle\product\10.2.0\userdata\testspace.dbf' size 50m autoextend on;

2、创建用户

create user tusername identified by mypassword default tablespace testspace;

3、给新用户赋权

grant connect to tusername;

grant resource to tusername;

grant dba to tusername ;

4、CMD下运行导入

imp username/password@sid full=y file=d:\data\xxx.dmp ignore=y

posted @ 2018-04-11 09:37  RenBwo  阅读(176)  评论(0编辑  收藏  举报