Table hint lost while parsing OPTION TABLE HINT clause
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/SqlScriptDOM
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
microsoft/SqlScriptDOM#228 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
microsoft/SqlScriptDOM#183 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 56/100
microsoft/SqlScriptDOM#226 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/SqlScriptDOM#225 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
microsoft/SqlScriptDOM#224 ·