-
-
Notifications
You must be signed in to change notification settings - Fork 220
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
WHEN NOT MATCHED BY SOURCE - does not work with a direct table as source #8213
Comments
For your information, I have tested it with Firebird 5.0.1.1469 |
What means |
I see there is a problem, but not related with stored procedures. |
The problem with |
Please test fix in next v5 snapshot (or an artifact from https://github.com/FirebirdSQL/firebird/actions/runs/10428291197 when available). |
Have a question about final result in one of cases. Sent report to Adriano, 18.08.2024 11:40. Waiting for reply. |
Test currently checks only 5.0.2. |
Looks good at first, the results are the same with My goal with the internal procedure is simply that I can harmonize the select-statement because I need it twice within the execute block. Although my stored procedure returns the same as the select-statement. Here are the results - maybe they will help.
|
I need the select twice because with a |
“WHEN NOT MATCHED BY SOURCE” was introduced with ticket #6681.
This has worked quite well so far.
However, I have now noticed that “WHEN NOT MATCHED BY SOURCE” behaves differently if the source is a stored procedure than if you specify derived-table as the source.
For “WHEN NOT MATCHED BY TARGET”, stored procedure and derived-table behave in the same way.
Here's an example, it may not make much sense, but you can see the difference in a nutshell.
Test-Table
Test-Data
Test-Statement
The text was updated successfully, but these errors were encountered: