title: Spool Command: Do not output SQL statement to file
body: <p>I am wanting to output a Query to a CSV file and am using the below as a small test;</p>
  
  <pre><code>spool c:\test.csv 
  select /*csv*/ username, user_id, created from all_users;
  spool off;
  </code></pre>
  
  <p>but the output has the actual select statment as the first line</p>
  
  <pre><code>&gt; select /*csv*/ username    user_id     created from all_users
  USERNAME    USER_ID CREATED
  REPORT  52  11-Sep-13
  WEBFOCUS    51  18-Sep-12
  </code></pre>
  
  <p>Is there a way to prevent this?  I tried SET Heading Off thinking that might do it, but it did not change.  I am using SQL Developer an running as script.</p>
  
  <p>Thanks
  Bruce</p>