Sub-split a compound batch into individual statements.
IMPORTANT: Tracks single-quoted string literal state AND block comment
state so that keyword patterns inside string data or comments (e.g.,
apostrophes in -- we're checking comments) are NOT treated as
statement boundaries.
Sub-split a compound batch into individual statements.
IMPORTANT: Tracks single-quoted string literal state AND block comment state so that keyword patterns inside string data or comments (e.g., apostrophes in
-- we're checkingcomments) are NOT treated as statement boundaries.