-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
set termout off
set markup HTML ON HEAD " -
-
SQL*Plus Report" -
BODY "" -
TABLE "border='1' align='center' summary='Script output'" -
SPOOL ON ENTMAP ON PREFORMAT OFF
def _html_spoolfile=&_tpt_tempdir/html_&_tpt_tempfile..html
spool &_html_spoolfile
l
/
spool off
set markup html off spool off
--host start %SQLPATH%\tmp\output_&_connect_identifier..html
host &_start &_html_spoolfile
set termout on