SqlStatement
One statement out of a script, and where it stood in the text it was cut from.
Properties
Link copied to clipboard
The statement's first word, upper-cased, with whatever comments stand in front of it stepped over - COMMIT for -- why we do this COMMIT. null where the statement opens with something that is not a word: a quote, a dollar-quoted body, a parenthesis. Upper-cased because SQL keywords are case-insensitive and comparing them as written is a bug waiting to happen.
Link copied to clipboard