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