I am developing a small utility for my team which I want to use while deploying a database release. The developers are using management studio and whenever they make changes in an SP or table, they are creating scripts from management studio (DROP and CREATE) option.
In my utility, I use that script and when I run that script with ADO.Net execute non query, it throws several exceptions like - 'GO' is not correct keyword etc.
Can anyone please suggest what could be a way to run those scripts as is?
Thanks