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

Table hint lost while parsing OPTION TABLE HINT clause

Open
#191 0 comments 0 reactions 1 assignee View on GitHub

@aasimkhan30 is already working on this.

Since Apr 23, 2026.

Assessment

This issue has not been assessed yet.

Description

ScriptDom version: 170.128.0
Compatibility level: 100, 130, 150, 170

DELETE dbo.foo
OPTION (TABLE HINT(FORCESEEK, ROWLOCK, UPDLOCK))

Parser produces TableHintsOptimizerHint instance with TableHints property containing 2 elements instead of 3 (if 2 hints provided then 1 element persists). The first one is lost.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.