]
Steven Hawkins updated TEIID-2554:
----------------------------------
Assignee: (was: Steven Hawkins)
Enhance MERGE to support INSERT/UPDATE and DELETE
-------------------------------------------------
Key: TEIID-2554
URL:
https://issues.jboss.org/browse/TEIID-2554
Project: Teiid
Issue Type: Enhancement
Components: Query Engine
Affects Versions: 8.4
Reporter: Van Halbert
Add delete support to MERGE. Example is SQL Server:
MERGE <target_table> [AS TARGET]
USING <table_source> [AS SOURCE]
ON <search_condition>
[WHEN MATCHED
THEN <merge_matched> ]
[WHEN NOT MATCHED [BY TARGET]
THEN <merge_not_matched> ]
[WHEN NOT MATCHED BY SOURCE
THEN <merge_ matched> ];