Vikas Ahlawat

Vikas Ahlawat

  • 1.4k
  • 566
  • 737.3k

Run sqlScript (complete database) giving error with GO statement.

Sep 11 2012 2:00 AM
I am executing script for create database.
this script is running fine in SSMS..
and when I execute it..

cmd.ExecuteNonQuery();

it gives error
like 
incorrect syntax near GO .......
How can is solve it..?



Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (5)