Similar UPDATE statements #37
manticore-projects
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This is Oracle grammar looks like. Like I said before this grammar is actually extracted directly from the spec and I want to keep it that way for the spec part even though there are some redundancies it shouldn't have material impact on the performance. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings and compliments.
I stumbled over the EBNF of the
UPDATE ...
statement: there are actually 2 differentUPDATE ...
statements, while only theWHERE ...
clause is different.Is this intended or would it not be better to refactor it into one single
UPDATE ...
statement with an abstractWHERE ...
clause, which can be implement with 2 different forms?I would suggest refactoring
CURRENT OF cursorname
into asearch_condition
and this unifying the statement.Beta Was this translation helpful? Give feedback.
All reactions