Skip to content

Add support for MS SQL-style IF statements in parser#82

Open
karmasis-doga-kocak wants to merge 1 commit intoTylerBrinks:mainfrom
dogakocak:main
Open

Add support for MS SQL-style IF statements in parser#82
karmasis-doga-kocak wants to merge 1 commit intoTylerBrinks:mainfrom
dogakocak:main

Conversation

@karmasis-doga-kocak
Copy link

Extended the SQL parser and AST to handle MS SQL IF statements, including correct parsing and serialization of IF, ELSE IF, and ELSE branches with BEGIN/END blocks. Introduced IfStatementSyntax to distinguish between standard and MS SQL syntaxes. Added a unit test to verify parsing of typical MS SQL IF ... DROP TABLE ... statements.

Extended the SQL parser and AST to handle MS SQL IF statements,
including correct parsing and serialization of IF, ELSE IF, and
ELSE branches with BEGIN/END blocks. Introduced IfStatementSyntax
to distinguish between standard and MS SQL syntaxes. Added a unit
test to verify parsing of typical MS SQL IF ... DROP TABLE ...
statements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant