Click to See Complete Forum and Search --> : end of data


programmer
08-07-2001, 05:01 PM
i have a sql which spool data of a table to a file. i want to print 'END OF DATA' as the last line in the file. what should i add in my sql file to get the above

Thanks

bmycroft
08-08-2001, 08:16 AM
after the sql statement, do "Prompt END OF DATA"

Failing that if the data is character you could do UNION select 'END OF DATA' from dual but thats a bit grubby...