Incorrect syntax near 'go' in SQL Server Management Studio
SQL Server Management Studio cannot handle some unprintable characters.
Check the newline characters, you probably have Linux (LF) or Mac (CR) style instead of Windows style (CR and LF). You can check with any advanced text editor, for example Notepad++
To solve, in notepad++, select the entire document, go to EDIT > END OF LINE CONVERSION > CONVERT TO WINDOWS
Don't forget to save the file with the changes.
That's all... Now it will work!!!!
Comments
Post a Comment