I am wanting to output a Query to a CSV file and am using the below as a small test;
spool c:\\test.csv select /*csv*/ username, user_id, created from all_u
My shell script calls the sql file and executes it. The spool output had the SQL query at the beginning followed by the query result.
This did not resolve my problem:
set echo off
This resolved my problem:
set verify off