m-u
10/29/2013 - 11:37 AM

Get next identity key id

Get next identity key id

USE DATABASENAME
GO


SELECT IDENT_CURRENT('TABLENAME') + IDENT_INCR('TABLENAME')