JasonMcConnell
Technical User
Hi
I have the following query that publishes the results to a HTMl file.
How can I make this not publish the query at the top of the HTMl file?
Also every 14 rows it publishes table headings
e./g Application Number, Application type Development address etc? How can I only make it publish this once only (at the top of the table)
set markup HTML on
spool c:\TEST.html
SELECT "PA_VIEW"."APPLICATION_NUMBER", "PA_VIEW"."APPLICATION_TYPE", "PA_VIEW"."DEVELOPMENT_ADDRESS", "PA_VIEW"."DEVELOPMENT_DESCRIPTION", "PA_VIEW"."WARD", "PA_VIEW"."RECEIVED_DATE", "PA_VIEW"."SYS_STATUS"
FROM "LAND"."PA_VIEW" "PA_VIEW"
WHERE ("PA_VIEW"."RECEIVED_DATE between
TO_TIMESTAMP('2007-07-01 00:00:00.00','YYYY-MM-DD HH24:MI:SS.FF2') and TO_TIMESTAMP('2007-07-04 00:00:00.00','YYYY-MM-DD HH24:MI:SS.FF2') AND ("PA_VIEW"."SYS_STATUS"='4' OR "PA_VIEW"."SYS_STATUS"='7');
spool off
set markup HTML off
Thanks for your help
I have the following query that publishes the results to a HTMl file.
How can I make this not publish the query at the top of the HTMl file?
Also every 14 rows it publishes table headings
e./g Application Number, Application type Development address etc? How can I only make it publish this once only (at the top of the table)
set markup HTML on
spool c:\TEST.html
SELECT "PA_VIEW"."APPLICATION_NUMBER", "PA_VIEW"."APPLICATION_TYPE", "PA_VIEW"."DEVELOPMENT_ADDRESS", "PA_VIEW"."DEVELOPMENT_DESCRIPTION", "PA_VIEW"."WARD", "PA_VIEW"."RECEIVED_DATE", "PA_VIEW"."SYS_STATUS"
FROM "LAND"."PA_VIEW" "PA_VIEW"
WHERE ("PA_VIEW"."RECEIVED_DATE between
TO_TIMESTAMP('2007-07-01 00:00:00.00','YYYY-MM-DD HH24:MI:SS.FF2') and TO_TIMESTAMP('2007-07-04 00:00:00.00','YYYY-MM-DD HH24:MI:SS.FF2') AND ("PA_VIEW"."SYS_STATUS"='4' OR "PA_VIEW"."SYS_STATUS"='7');
spool off
set markup HTML off
Thanks for your help