I can pretty easily dump data into a text file such as:
sqlcmd -S myServer -d myDB -E -Q "select col1, col2, col3 from SomeTable"
-o "MyData.txt"
Though I have looked at the help files for SQLCMD, I have not seen an option, especially for CSV.
Is there a way to dump the data from a table into a CSV text file using SQLCMD?