Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
Add an UPDATE operation that returns a result set of the changed rows to the client.
UPDATE [LOW_PRIORITY] [IGNORE] tbl_name
|
SET col_name1={expr1|DEFAULT} [, col_name2={expr2|DEFAULT}] ...
|
[WHERE where_condition]
|
[ORDER BY ...]
|
[LIMIT row_count]
|
RETURNING select_expr [, select_expr ...]
|
I'm not exactly sure how the corresponding multiple-table syntax should look like, or if it is possible at all. But already having it for single-table updates would be a nice feature.
Attachments
Issue Links
- blocks
-
MDEV-12326 Implement multiple-table UPDATE/DELETE returning a result set
- Open
- duplicates
-
MDEV-19093 [Feature] Issue #48 SELECT...FROM UPDATE
- Closed
- relates to
-
MDEV-30737 REPLACE...RETURNING should provide access to the old row data
- Open
-
MDEV-32516 Returning Insert Resultset into Temporary Table
- Open
-
MDEV-3814 Implement DELETE with result set (mwl #205)
- Closed
-
MDEV-10422 INSERT RETURNING
- Closed
-
MDEV-12326 Implement multiple-table UPDATE/DELETE returning a result set
- Open
-
MDEV-20033 sql_mode="oracle" does not support INSERT INTO ... RETURNING
- Closed