IDENT_CURRENT « Sequence Indentity « SQL Server / T-SQL Tutorial






15.4.IDENT_CURRENT
15.4.1.Discover what the last IDENTITY value:you can use the IDENT_CURRENT function.
15.4.2.SELECT IDENT_CURRENT('customer')