Script to Find Seed Values of specific table.

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under Sql Server category on | Points: 40 | Views : 289
SELECT IDENT_SEED(TABLE_NAME) AS Seed_Value,
TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE OBJECTPROPERTY(OBJECT_ID(TABLE_NAME),'TableHasIdentity') = 1
AND TABLE_TYPE = 'BASE TABLE' and
TABLE_NAME = 'YOUR_TABLE_NAME';

Comments or Responses

Login to post response