oracle 数据库Cmd命令导入导出

 

imp 导入数据库:

      1.直接导入数据表:   imp username/passwork@orcl file=d:\AA.dmp

         eg: imp 用户名/密码@orcl file=d:\dmp存放的路径

exp导出数据库:

     1.导出多张数据表:  exp username/passwork@orcl file=d:\AA.dmp tables=tables1,tables2,tables3........

      eg:exp 用户名/密码@orcl file=d:\dmp存放的路径 tables=导出数据表名称

   2.导出所有表结构数据库:      exp username/passwork@orcl file=d:\AA.dmp

  eg:exp 用户名/密码@orcl file=d:\dmp存放的路径

猜你喜欢

转载自blog.csdn.net/li1325169021/article/details/84772445