Returns the seed value (returned as numeric(@@MAXPRECISION,0)) specified during the creation of an identity column in a table or a view that has an identity column.
IDENT_SEED('table_or_view')
numeric
This example returns 1 for the jobs table in the pubs database because the jobs table includes an identity column with a seed value of 1.
USE pubs
SELECT TABLE_NAME, IDENT_SEED(TABLE_NAME) AS IDENT_SEED
FROM INFORMATION_SCHEMA.TABLES
WHERE IDENT_SEED(TABLE_NAME) IS NOT NULL
Here is the result set:
TABLE_NAME IDENT_SEED
------------------------------------------------------------ -----------
jobs 1
(1 row(s) affected)
Expressions | System Functions |