title: How to add column names to the csv file created by SQL output statement?
body: <p>I used this statement</p>
  
  <pre><code>SELECT * FROM SalesOrders; 
  OUTPUT TO 'e:\\output\\rule_criteria.csv' WITH COLUMN NAMES;
  </code></pre>
  
  <p>I get an error saying 'WITH' was not expected here. Any way to resolve this? I'm using SQL Anywhere 10.</p>