Tuesday, 26 April 2011

How to select the last inserted record from the identity column

SELECT @@IDENTITY FROM MyTable;

No comments:

Post a Comment