Viewing post 1 (of 1 total)
You could try and use the QUOTENAME function or add double quotes around the fields
sqlcmd -S localhost -E -Q "select '""' + [name] + '""', QUOTENAME ([number], '""'), QUOTENAME...
May 11, 2012 at 1:40 am
#1486132