[MDEV-10422] INSERT RETURNING Created: 2016-07-24 Updated: 2023-10-18 Resolved: 2017-05-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | VAROQUI Stephane | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 3 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
Dear Developers, Would make sense after getting any default possible value in columns to have INSERT RETURNING syntax , that send back resultset off every columns that do set a default value in a ROW. In useful in such cases :
Oracle allow sequence for this: MsSQL works for every default like UID SqlLite Thanks in advance |
| Comments |
| Comment by Michaël de groot [ 2016-07-24 ] |
|
This is a great idea! Would save 1 query with its rtt and in case of multi inserts a lot of effort and complexity. |