SQL Server Obtenha o valor de identidade atual da tabela
SELECT IDENT_CURRENT('table_name')
Zany Zebra
SELECT IDENT_CURRENT('table_name')