SQL Server Identity
sql serverHere is a pretty good article about the differences between @@IDENTITY, SCOPE_IDENTITY(), and IDENT_CURRENT('tablename') for SQL Server. I didn't even know about IDENT_CURRENT('tablename') before.
http://www.mssqltips.com/tip.asp?tip=1385




Loading....