Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identity field management
Message
From
06/02/2001 17:32:34
 
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
00472984
Message ID:
00473192
Views:
30
>If I will delete all records from the table and after it I will insert new record I will get Identity field = max + 1, but not 1...
>Why? And how to force SQL server to count Identity field from 1 again.
>
>Giedrius

I believe if you do a TRUNCATE TABLE the identity will go back to the original seed.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform