Oracle数据库导入导出

导出数据库:

进入cmd窗:

c:\>exp system/passwd@xe file=c:\milkrun0917.dmp owner=someuser








导入时:

进入cmd窗:

imp system/password@xe file=c:\milkrun1022.dmp full=y


然后到SQL Developer 下执行如下脚本

drop user 用户名  cascade

create user someuser identified by userpassword account unlock;
grant connect,resource,create view to someuser ;

你可能感兴趣的:(Database)