Spooling the output from SQLPlus to log file is often in unreadable format.
To Spool SQLPLus output to Excel (.xls) file, the trick is to turn On "MARKUP HTML"
SQL>set markup html on
SQL>set feedback off
SQL>spool c:\test.xls
SQL>select * from user_objects where rownum <= 20;
SQL>spool off
SQL>set markup html off
No comments:
Post a Comment