spool testfile.txt
select clob_field from table
spool off