SQL SERVER IDENTITY CHECK code example
Example 1: tsql reseed identity
USE AdventureWorks2012;
GO
DBCC CHECKIDENT ('Person.AddressType', RESEED, 10);
GO
Example 2: how to get table current identity value in sql server
SELECT IDENT_CURRENT('Pets') AS Result;