SqlServerProvider: Replace @@IDENTITY with SCOPE_IDENTITY()

Number:2788
Tracker:Change Request
Author:Mirko Matytschak
Version:NDO 4.0.11
Assigned to: Mirko Matytschak
Status: Gelöst

There are rare cases where @@IDENTITY does not return the id of the currently inserted record. SCOPE_IDENTITY() makes sure, that the id of the last record inserted by the same client is returned.


Mirko Matytschak - 12.12.2022 14:16:11

Status = Gelöst

<<  previous   next  >>
Back to the Overview