Vikas Ahlawat

Vikas Ahlawat

  • NA
  • 564
  • 816.8k

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)