0

I am using a sqlplus script to generate a spool file without any issues. The file generated is html. It generates a table as shown below. I would like to add a text before the table as shown below "Alert Description"

enter image description here

Below is the code I am running. I am not sure where I can add the Alert Description to the Spool File or script. Any help will be appreciated.

SET LINESIZE 32767;
SET PAGESIZE 32767;
SET FEEDBACK OFF
SET MARKUP HTML ON SPOOL ON
SPOOL D:\ALERT_RETURNS.html ;
Select a, b, c, d
 From
 Table
Where
 rs.RUN_DATE >= sysdate - 15/1440
/
spool off;
exit;
asked Nov 18, 2020 at 21:07

1 Answer 1

0

I used the prompt which will add a text as needed.

answered Nov 24, 2020 at 15:55
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.