Visual Studiojonathan wells, product managerIncorrect Syntax near 'GO'... SqlCommand.ExecuteNonQuery();- February 26, 2008 Whilst building an 'custom action' to install a database , I encountered a SqlException ("Incorrect syntax near...") when calling ExecuteNonQuery(). To solve the problem process sql commands separately (using 'GO' as a delimiter). Thankfully parsing the...(read more)http://blogs.msdn.com/onoj/archive/2008/02/26/incorrect-syntax-near-go-sqlcommand-executen... |