Member Junction
    Preparing search index...
    SQLStatementKind: "select" | "select-into" | "set-op" | "mutation" | "other"

    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

    • "set-op"

      UNION / INTERSECT / EXCEPT

    • "mutation"

      INSERT / UPDATE / DELETE / MERGE / etc.

    • "other"

      Anything else or an unrecognized shape