You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason the sqlcmd exits silently without throwing any errors. I tried specifying non-existent file paths and the result is the same. I don't see any issues with -Q with the same authentication. Something seems specifically wrong with -i
@shueybubbles hinted to me to use forward slash / instead of \. That worked. Though, this being a Windows based environment, it would be natural to work with the Windows-style \. He also pointed out alecthomas/kong#198 for some related info.
The text was updated successfully, but these errors were encountered:
arvindshmicrosoft
changed the title
Input file option (-i) is being ignored
Input file path only supports forward slashes even on Windows
Dec 10, 2021
I am trying to use go-sqlcmd to execute a script (.SQL file). The command line I am using is below:
For some reason the sqlcmd exits silently without throwing any errors. I tried specifying non-existent file paths and the result is the same. I don't see any issues with
-Q
with the same authentication. Something seems specifically wrong with-i
@shueybubbles hinted to me to use forward slash
/
instead of\
. That worked. Though, this being a Windows based environment, it would be natural to work with the Windows-style\
. He also pointed out alecthomas/kong#198 for some related info.The text was updated successfully, but these errors were encountered: