Skip to content

Table hint lost while parsing OPTION TABLE HINT clause #191

Description

@IVNSTN

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions