title: csv output from windows batch + sqlcmd only returns first column
body: <p>i have looked all over the internet and cant seem to find a solution to this problem.</p>
  
  <p>i am trying to output query results as a CSV through using a combination of sqlcmd and windows batch.  here is what i have so far:</p>
  
  <pre><code>sqlcmd.exe -S %DBSERVER% -U %DBUSER% -P %DBPASS% -d %USERPREFIX%  -Q "SELECT Username, UserDOB, UserGender FROM TABLE" -o %USERDATA%\%USERPREFIX%\FACT_BP.CSV -h-1 -s","
  </code></pre>
  
  <p>is there something i'm missing here?  some setting that only looks at the first column of the query results?</p>
  
  <p>any advice at all would be a huge help - i'm lost.</p>