set term off /* * * Author : Vishal Gupta * Purpose : Display results in HTML * Parameters : * * * * Revision History: * =================== * Date Author Description * --------- ------------ ----------------------------------------- * 04-Jun-15 Vishal Gupta Change paragraphs font to Courier New * 08-Mar-12 Vishal Gupta Intial version * * */ set term on PROMPT PROMPT Running - @&&1 "&&2" "&&3" "&&4" "&&5" "&&6" "&&7" "&&8" "&&9" "&&10" PROMPT DEFINE command="&&1" DEFINE arg1="&&2" DEFINE arg2="&&3" DEFINE arg3="&&4" DEFINE arg4="&&5" DEFINE arg5="&&6" DEFINE arg6="&&7" DEFINE arg7="&&8" DEFINE arg8="&&9" DEFINE arg9="&&10" UNDEFINE 1 UNDEFINE 2 UNDEFINE 3 UNDEFINE 4 UNDEFINE 5 UNDEFINE 6 UNDEFINE 7 UNDEFINE 8 UNDEFINE 9 UNDEFINE 10 set MARKUP HTML ON PREFORMAT OFF spool on ENTMAP ON HEAD "HTML Output - " - BODY "TEXT='#000000'" - TABLE " BORDER='2' RULES='all' " spool sqlplus_html_report.html @&&command "&&arg1" "&&arg2" "&&arg3" "&&arg4" "&&arg5" "&&arg6" "&&arg7" "&&arg8" "&&arg9" spool off set MARKUP HTML OFF PROMPT PROMPT HTML output created in sqlplus_html_report.html file. PROMPT Opening the file in your default internet browser (IE, Chrome, Firefox etc) ... PROMPT host sqlplus_html_report.html --host rm sqlplus_html_report.htm