Replies: 2 comments 1 reply
|
I believe the output is UTF8 by default, since Go's native string format is UTF 8 |
1 reply
|
if the file has commas in it correctly, I'm not sure what sqlcmd could be doing wrong. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I need to run a query and then export a csv utf-8 format. However, when I tried to follow this generic command:
Sqlcmd -S "10.00.00.00" -d "EmployeeDatabase" -U "User1" -P "Password" -i "Script1.sql" -W -f 65001 -h -1 -s "," -o "c:\File.csv"in the latest version of sqlcmd it does not have the lower case "f" flag.
any advice is much appreciated
All reactions