Why StrictValidationResult.IsValid is false, checked in this order:
'NoGrammar'
'Unparseable'
'WriteStatement'
'NotPlainSelect'
'NestedWrite'
Why StrictValidationResult.IsValid is false, checked in this order:
'NoGrammar': the dialect has no grammar the strict parser can read it with;'Unparseable': the grammar could not read the text;'WriteStatement': a top-level statement writes, changes the schema or changes permissions;'NotPlainSelect': the statement is not one plain SELECT (a set operation, SELECT … INTO, …);'NestedWrite': a write or DDL statement sits somewhere inside it (a CTE body, a subquery).