Vikas Ahlawat

Vikas Ahlawat

  • 1.4k
  • 566
  • 742.9k

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:

Answers (5)