can i append(not write) the query result to spool file?whenever i run the sql it over writes on the old file(not appending to end of output file) so that my old statistics have lost.
When I wish to append SELECTed output to a flat file, I use PL/SQL's utl_file mechanism, opening the target flat file with the 'append' ('A') parameter instead of 'write' ('W').
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.