Vikas Ahlawat

Vikas Ahlawat

  • 1.4k
  • 564
  • 757k

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..?



Answers (5)