By BlackWasp
via blackwasp.co.uk
Submitted: Nov 09 2012 / 18:28
It is a common task to obtain the last inserted identity value for a SQL Server table for the current connection, with @@IDENTITY, or for the current scope, with SCOPE_IDENTITY. However, it is also possible to find the latest identity inserted by any session.
Add your comment