Skip to content
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

Add support for DROP PROCEDURE #1282

Closed
FredYakumo opened this issue May 22, 2024 · 1 comment · Fixed by #1324
Closed

Add support for DROP PROCEDURE #1282

FredYakumo opened this issue May 22, 2024 · 1 comment · Fixed by #1324

Comments

@LorrensP-2158466
Copy link
Contributor

I would like to take on this issue.
If i remember correctly, DROP PROCEDURE ... is part of the SQL spec, so we can just implement it in the Parser crate, right?

I would implement this in the same way as parse_drop_function and also add a new Statement called DropProcedure.
https://github.com/sqlparser-rs/sqlparser-rs/blob/9d15f7e9a92a4ef36fcc6d3166fd0221a22a20e2/src/parser/mod.rs#L4250-L4267

But i did notice that the syntax for both are the same, the only difference is PROCEDURE instead of FUNCTION.
I can maybe combine these two?

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 a pull request may close this issue.

2 participants