首先创建表空间:
CREATE tablespace SINO_NBS datafile 'E:\app\Tablespace\data_1.dbf' size 50M;
CREATE tablespace 表空间名 datafile '表空间储存位置' size 50M(大小);
创建用户:
Create user test identified by test default tablespace SINO_NBS temporary tablespace TEMP profile DEFAULT;
Create user 用户名 identified by 用户密码 default tablespace 表空间名 temporary tablespace TEMP profile DEFAULT;
绑定权限:
grant dba to test;
grant connect to test;
grant resource to test;
打开cmd命令窗口:
imp test/test@localhost/orcl file=.dmp文件路径 full=y
最后:
出现成功终止导入即表示导入成功