| Click on image to zoom on it |
2-How to get the last generated identity column value in SQL Server?
| Click on image to zoom on it |
@@IDENTITY - returns the last identity value that is created in the same session and across any scope.
IDENT_CURRENT('Table Name') - returns the last identity value that is created for a specific table across any session and any scope