Link to home
Start Free TrialLog in
Avatar of 25112
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?
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial