[MDEV-15041] Implement MERGE statement Created: 2018-01-23 Updated: 2023-09-25 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Server |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Bienemann (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 3 |
| Labels: | Compatibility, SQL | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The MERGE statement as in https://en.wikipedia.org/wiki/Merge_(SQL) should be implemented. |
| Comments |
| Comment by Nicola Marangoni [ 2018-04-19 ] | ||||||||||||
|
It would be nice to have the MERGE implemented like in SQL Server 2008 and not like in Oracle or DB2:
This implementation allows for the switch WHEN NOT MATCHED, WHEN NOT MATCHED BY TARGET and WHEN NOT MATCHED BY SOURCE | ||||||||||||
| Comment by Alexander Bienemann (Inactive) [ 2019-03-29 ] | ||||||||||||
|
The MERGE statement can be complex to migrate if not implemented in MariaDB Server directly: Please implement. | ||||||||||||
| Comment by Ian Gilfillan [ 2023-09-25 ] | ||||||||||||
|
This was recently covered on modern-sql.com: https://modern-sql.com/caniuse/merge |