I am looking at a note that someone wrote to me and it looks something like this:
SELECT Something FROM Foobar WHERE blah='blah' --- [pulls this too - SELECT Something FROM Foobar WHERE something='elsehappens']
I’m trying to figure out if the --- [ comment - QUERY] is just a comment or if it actually means something I haven’t seen before.
In this case it is just a comment… square brackets are often used to delimit real names for reserved words, or simply to delimit actual identifiers, but anything after a
--is always a comment.