Saturday, January 15, 2011

Spooling the query result in Excel format

Spooling the query result in Excel format

set term off
set echo off
set pages 0 head on emb on newp none
set markup html on
spool on
spool <Name_of_Excel_File>.xls
<select query>select * tab;
spool off
set markup html off spool off
exit

No comments:

Post a Comment