oralce数据库DMP导入导出实例


1.从表导出数据:

        F:\现网\0930>exp mocs/mocs@ORA9I

        Export: Release 9.2.0.1.0 - Production on 星期日 9月 30 16:28:52 2007

        Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

        连接到: Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production

        With the Partitioning, OLAP and Oracle Data Mining options

        JServer Release 9.2.0.6.0 - Production

        输入数组提取缓冲区大小: 4096 >

         导出文件: EXPDAT.DMP> T_CardInfo_PIGEONHOLE.dmp

        (2)U(用户),或 (3)T(表): (2)U > 3

        导出表数据 (yes/no): yes >

        压缩区 (yes/no): yes >

        已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集

        即将导出指定的表通过常规路径 ...

        要导出的表 (T) 或分区 (T: P): (RETURN 以退出) > T_CardInfo_PIGEONHOLE

        . . 正在导出表           T_CARDINFO_PIGEONHOLE          1 行被导出

        要导出的表 (T) 或分区 (T: P): (RETURN 以退出) >

          在没有警告的情况下成功终止导出。

          2.导入数据:

         imp mocsacct/mocsacct@gdmocs file=/home/mocsa/temp_card_segment.dmp tables=temp_card_segment log=temp_card_segment.imp fromuser=shiyihai touser=mocsacct

 

本文作者:
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3