I have a field in my SQL Server 2008 table that is auto number incremental of 1 and has over 100,000 records in it.
We are migrating servers at the moment so I’m looking at doing a little spring cleaning and will be deleting all the records from this table.
I still want the auto number incremental of 1 facility but I would like the first record to start at 102001, is this possible.
Thanks.
Yes, simply set the start value of IDENTITY to be your chosen number. Syntax:
IDENTITY (seed,increment)