SQL> desc memberinfo_use
Name             Type          Nullable Default Comments 
---------------- ------------- -------- ------- -------- 
MEMBERID         VARCHAR2(11)  Y                                           
REMARK           CLOB          Y                         
                      SQL> spool c:\1.txt
Started spooling to c:\1.txtSQL> select memberid,re from memberinfo_use where rownum < 2;MEMBERID    REMARK
----------- --------- 
00001       长期以来?SQL> spool off
Stopped spooling to c:\1.txt

解决方案 »

  1.   

    SQL> desc memberinfo_use
    Name             Type          Nullable Default Comments 
    ---------------- ------------- -------- ------- -------- 
    MEMBERID         VARCHAR2(11)  Y                                           
    REMARK           CLOB          Y                         
                          SQL> spool c:\1.txt
    Started spooling to c:\1.txtSQL> select memberid,re from memberinfo_use where rownum < 2;MEMBERID    REMARK
    ----------- --------- 
    00001       长期以来?SQL> spool off
    Stopped spooling to c:\1.txt
    楼上这样就可以
      

  2.   

    util_file 来写吧  
    spool 时sqlplus 的set long 5000 -- 显示的时候应该有字数的限制吧
      

  3.   

    我很想知道用utl_file的效果是怎么样的?先谢过了。