Use RETURNING/OUTPUT clause for UPDATE/DELETE #27547
Labels
area-perf
area-save-changes
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
Milestone
When modifying a row that has database-generated values, we currently use UPDATE+SELECT:
We could use the RETURNING clause (SQL Server OUTPUT) to reduce this to one statement, like we're doing for INSERT in #27372. This would also allow removing the transaction.
For SQL Server with triggers, we would keep the above.
The text was updated successfully, but these errors were encountered: