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

[Oracle SQL] Add PLSQL_BLOCK for PLSQL of Oracle #28757

Merged
merged 5 commits into from
Oct 18, 2023

Conversation

lancelly
Copy link
Contributor

Related issue: #27569
In this pr, I added PLSQL_BLOCK for PLSQL of Oracle. I referred to this doc where you can find the detailed definition: https://docs.oracle.com/en/database/oracle/oracle-database/21/lnpls/block.html#GUID-9ACEB9ED-567E-4E1A-A16A-B8B35214FC9D
截屏2023-10-14 19 11 51
Now the following SQL can be parsed:
DECLARE warehouse NUMBER := 1; ground NUMBER := 1; insured NUMBER := 1; result NUMBER; BEGIN SELECT BIN_TO_NUM(warehouse, ground, insured) INTO result FROM DUAL; UPDATE orders SET order_status = result WHERE order_id = 2441; END;
截屏2023-10-14 19 12 57

@RaigorJiang RaigorJiang merged commit 5a26933 into apache:master Oct 18, 2023
133 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants