Skip to content

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

@iCodeSometime

Description

@iCodeSometime

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions