spool c:\a.txt
select * from tbname;
spool off;

解决方案 »

  1.   

    如bzszp(SongZip) ,需要的话,还可以SELECT的时候在数据间加上分隔符之类的~
      

  2.   

    LIKE THIS:
    set heading off
      

  3.   

    1,
    set pagesize 0
    set linesize 1000 (足够长就行了。不要太大,看表结构。)spool tt.out
    select * from table2
    spool off2, 用别的工具,如 PL/SQL Developer.
      我记得里面有个菜单能直接生成 insert  方式的 SQL 语句的。