Please sign in to comment.
MDL-33434 mssql: Improve handling of returned ids on insert.
This commit moves from the batch SCOPE_IDENTITY() way to return the inserted ids to the OUTPUT alternative (supported and recommended since 2005). Also the handling of possible return values is improved, with all the alternatives leading to expected results.
- Loading branch information...
Showing with 16 additions and 5 deletions.