spool D:\ spool_txt.txt;

select * from *******;

spool off;