Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

For UPDATE statement, visitor visits SetClauses after WhereClause

Open
#81 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, sql
Domain
databases

Research direction

Start with the TSqlFragmentVisitor entry point and reproduce the UPDATE traversal using overrides for AssignmentSetClause and WhereClause. Trace the UPDATE statement's visitor order and add coverage for the expected sequence; done means AssignmentSetClause is visited before WhereClause.

Written by the indexing model from the issue text.

Description

.NET Framework (Windows-only) or .NET Core: .NET 8
Environment (local platform and source/target platforms): net8.0-windows x64
Steps to Reproduce:

Create a visitor inheriting from TSqlFragmentVisitor
Override ExplicitVisit(AssignmentSetClause node)
Override ExplicitVisit(WhereClause node)
Item 2. (AssignmentSetClause) gets invoked "after" Item 3. (WhereClause)
Shouldn't this be reversed?

Dominant language
GAP
Stars
277
Forks
43
Avg merge
6d 17h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/SqlScriptDOM

All issues in microsoft/SqlScriptDOM

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.