25112
asked on
avoiding the dashes in the sqlcmd output...
sqlcmd -S . -d AzureDemo50 -E -s, -W -Q "SELECT * FROM dbo04.ExcelTest" > ExcelTest.csv
example from
http://www.excel-sql-server.com/sql-server-export-to-excel-using-bcp-sqlcmd-csv.htm
give the header with dashes (-------) for every column.. is there a way that can be suppressed and avoided?
example from
http://www.excel-sql-server.com/sql-server-export-to-excel-using-bcp-sqlcmd-csv.htm
give the header with dashes (-------) for every column.. is there a way that can be suppressed and avoided?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.