rb258

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

分类:

技术点:

相关文章: