SimpleSqlExec icon indicating copy to clipboard operation
SimpleSqlExec copied to clipboard

Batch terminator is used to split even when located inside a comment.

Open iCodeSometime opened this issue 5 years ago • 0 comments

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.

iCodeSometime avatar May 06 '19 10:05 iCodeSometime