2026-03-12 20:23:15
This commit is contained in:
33
tpt/html_.sql
Normal file
33
tpt/html_.sql
Normal file
@@ -0,0 +1,33 @@
|
||||
-- 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 " -
|
||||
<style type='text/css'> -
|
||||
body {font:10pt Arial,Helvetica,sans-serif; color:black; background:White;} -
|
||||
p { font:10pt Arial,Helvetica,sans-serif; color:black; background:White;} -
|
||||
table,tr,td {font:10pt Arial,Helvetica,sans-serif; color:Black; background:#f7f7e7; -
|
||||
padding:0px 0px 0px 0px; margin:0px 0px 0px 0px; white-space:&1;} -
|
||||
th { font:bold 10pt Arial,Helvetica,sans-serif; color:#336699; background:#cccc99; -
|
||||
padding:0px 0px 0px 0px;} -
|
||||
h1 { font:16pt Arial,Helvetica,Geneva,sans-serif; color:#336699; background-color:White; -
|
||||
border-bottom:1px solid #cccc99; margin-top:0pt; margin-bottom:0pt; padding:0px 0px 0px 0px;} -
|
||||
h2 { font:bold 10pt Arial,Helvetica,Geneva,sans-serif; color:#336699; background-color:White; -
|
||||
margin-top:4pt; margin-bottom:0pt;} a {font:9pt Arial,Helvetica,sans-serif; color:#663300; -
|
||||
background:#ffffff; margin-top:0pt; margin-bottom:0pt; vertical-align:top;} -
|
||||
</style> -
|
||||
<title>SQL*Plus Report</title>" -
|
||||
BODY "" -
|
||||
TABLE "border='1' align='center' summary='Script output'" -
|
||||
SPOOL ON ENTMAP ON PREFORMAT OFF
|
||||
|
||||
spool %SQLPATH%\tmp\output_&_connect_identifier..html
|
||||
|
||||
l
|
||||
/
|
||||
|
||||
spool off
|
||||
set markup html off spool off
|
||||
host start %SQLPATH%\tmp\output_&_connect_identifier..html
|
||||
set termout on
|
||||
Reference in New Issue
Block a user