Sometimes, when executing a new SQL script via osql or SQLCmd, generated by Visual Studio's "Add New", you will get an error due to a Unicode character. This character is usually at the beginning of the file. In order to get around this, you can open the file with notepad and select file -> save as… and then when saving the file, select ANSI in the ......