I am using SSMS v17.6 with SQL Server Express server version 14.0.1000.169. if i print
delete from foo go
I get an error message:
`Invalid syntax next to 'go'.
but if I print
select * from foo go
Then there is no mistake. It seems that an error occurs with any statement that does not return results. I checked the query execution parameters in SSMS and the batch separator is set to work. SSMS seems to be sending a server, which it should not do.
I see this on several machines.
source share