就是从oracle中导出数据到.sql文件中,不要表结构的。(然后从sql读入导出的文件插入数据)
搜索论坛了没有找到相关的信息。

解决方案 »

  1.   

    SQL> spool e:\aa.sql
    Started spooling to e:\aa.sqlSQL> set head off;
    SQL> select * from a;
                                1 a
                                2 ba
                                3 ca
                                4 daSQL> spool off;
    Stopped spooling to e:\aa.sqlSQL> 
    查看aa.sql,其实就是文本信息可以使用sqlldr倒入数据库
      

  2.   

    导出数据到.sql   --使用pl/sql developer工具
    第二问不太明白
      

  3.   

    Toad工具中的Export很方便.生成的都是insert语句.
      

  4.   

    不是很明白,不知道是不是指toad那种导出为insert语句的
      

  5.   

    直接在表上F3,然后在数据列表上点右键,选择 Export ,然后照提示做就ok了,可以以多种格式导出数据。
      

  6.   

    用 exp/imp 挺方便的呀 :DExp username/password@servername file = abc.dmp log = abc.log tables = 'tabName'
      

  7.   

    用spool导出会保留SQL>SELECT * ....这样的文字,例如此结果文件是out.dat 
    cat out.dat|egrep -v SQL > out.sql
    就可以了。
      

  8.   

    SQL> spool c:\a.sqlSQL> select * from a;SQL> spool off;
      

  9.   

    C:\Documents and Settings\Administrator.LSP>exp jsuninet/jsuninet@ora8 file=abc.
    dmp log =abc.log tables="TCMMBCFG"Export: Release 9.2.0.1.0 - Production on 星期三 3月 24 18:13:50 2004Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    连接到: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    EXP-00056: 遇到 ORACLE 错误 942
    ORA-00942: table or view does not exist
    EXP-00000: 导出终止失败C:\Documents and Settings\Administrator.LSP>