N
Nick K.
I have a piece of code that gets a SQL Server stored procedure script from a
xsql file and creates the stored procedure using ExecuteNonQuery.
The code works fine except that it chokes if there is a "GO" or multiple sql
such as "SET QUOTED IDENTIFER OFF" or "GRANT EXECUTION ON MySP to [myuser]"
I really need this code to execute multiple scripts along with "GO". The
current program I am using was written in the .Net Framework 1.0. Are there
some enhancements to the .Net Framework 2.0 that would allow me to do this?
xsql file and creates the stored procedure using ExecuteNonQuery.
The code works fine except that it chokes if there is a "GO" or multiple sql
such as "SET QUOTED IDENTIFER OFF" or "GRANT EXECUTION ON MySP to [myuser]"
I really need this code to execute multiple scripts along with "GO". The
current program I am using was written in the .Net Framework 1.0. Are there
some enhancements to the .Net Framework 2.0 that would allow me to do this?