High-level classification of the statement at the root of a parsed AST.
Callers that need to decide whether a statement can be safely modified
(row caps, paging, etc.) use this in preference to inspecting AST shapes
directly.
Type Declaration
"select"
Plain SELECT
"select-into"
SELECT … INTO #tmp FROM … — a write disguised as a SELECT
High-level classification of the statement at the root of a parsed AST.
Callers that need to decide whether a statement can be safely modified (row caps, paging, etc.) use this in preference to inspecting AST shapes directly.