Specify rowterminator when creating a file with SQLCMD

Posted by MadMax on Stack Overflow See other posts from Stack Overflow or by MadMax
Published on 2010-04-13T21:32:54Z Indexed on 2010/04/14 3:53 UTC
Read the original article Hit count: 514

Filed under:
|
|

How do you specify the the row terminator when outputting query results using sqlcmd?

bcp is not an option.

sqlcmd -E -s"   " -Q "Select * From SomeTable" -o C:\Output.txt  -W

What is the default row terminator?

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server