Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identity field management
Message
De
06/02/2001 17:32:34
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Divers
Thread ID:
00472984
Message ID:
00473192
Vues:
29
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform