Open amafernandes opened 2 months ago
In go-sqlcmd 1.6.0 the powershell script bellow, produces and error, this is output of variable $result:
$result
Msg 102, Level 15, State 1, Server ., Line 4 Incorrect syntax near ':'.
Running the same script using ODBC sqlcmd works properly.
$result = sqlcmd -b -X1 -E -W -h -1 -Q " Select 2; :EXIT(SELECT 200)" echo $LASTEXITCODE echo $result
In go-sqlcmd 1.6.0 the powershell script bellow, produces and error, this is output of variable
$result
:Running the same script using ODBC sqlcmd works properly.