If you have ever tried to process sql scripts that a dba created for running
under ISQL. You may have run into the problem with multiple GO statements in
a long SQL query. 

Attached is support for GO statements in SQL queries. Not sure if anyone
would find this useful other that myself and people in SQL Server shops. I
have run into this difficulty multiple times in my days of nerdism.

Basically it splits the sql to be executed on GO statements and executes the
resulting statements one at a time.

I have not commited this change as I am not sure it is such a good idea. We
may want to subclass the sqltask rather than bolt on this functionality. 

Attachment: SqlTask.cs
Description: Binary data

Attachment: SqlStatementAdapter.cs
Description: Binary data

Reply via email to