-- 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 "
&1" BODY "" TABLE "border='1' align='center' summary='Script output'" SPOOL ON ENTMAP OFF PREFORMAT OFF
set feedback off
spool %SQLPATH%\tmp\output_&_connect_identifier..xls
clear buffer
--prompt &1
1 &1
/
spool off
set markup html off spool off feedback on
host start %SQLPATH%\tmp\output_&_connect_identifier..xls
set termout on