-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mssql] Support DECLARE statements #151
Comments
No one has implemented support for that statement is all. PRs welcome! |
@AugustoFKL -- given that sqlparser uses an However, in terms of my take on "easy to upgrade changes" new enum variants to expand the sql support are fine (users have the choice to match |
So "yes adding support for a DECLARE" statement is definitely acceptable from my perspective (like I will review it and help merge it) |
Just adding a comment here because that feature would be very welcome in the SQLPage web application builder: sqlpage/SQLPage#49 |
@alamb while working on apache/datafusion#9726 I was running in to this. I often use MSSQL for work so the ScalarVariable syntax that I'm used to is |
Sure -- thank you @devanbenz -- feel free to make a PR and then ping me (or @iffyio ). And thank you! |
I am running into a few errors trying to parse MsSql.
The following sql
DECLARE @Var1 INTEGER;
reports the following error:
This is a pretty normal thing to appear in t-sql scripts from my experience, though I maybe misunderstanding why this might be an error.
The text was updated successfully, but these errors were encountered: