SqlScriptDOM icon indicating copy to clipboard operation
SqlScriptDOM copied to clipboard

GeneralSetOption object has wrong FirstTokenIndex value

Open IVNSTN opened this issue 10 months ago • 0 comments

ScriptDom version: 161.9142.1 Compatibility level: 150

Sample code:

SET DATEFIRST 7;

FirstTokenIndex of the whole SET command is always equal to the parameter first token index.

It should point to the SET word instead.

IVNSTN avatar Feb 28 '25 15:02 IVNSTN