SimpleSqlExec
SimpleSqlExec copied to clipboard
Batch terminator is used to split even when located inside a comment.
Script to reproduce:
/*
Instructions to use this stored procedure:
exec stored_procedure arg1, arg2
go
*/
create procedure stored_procedure
-- etc
Sometimes there may be a go within a comment - most often as some kind of documentation. These should not be recognized as a batch separator.