Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reset the seed of an identity
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00920053
Message ID:
00920077
Vues:
21
Check out the BOL(Books On Line) fro the topic
"Use generic syntax for finding gaps in identity values" for detailed examples of how to find gaps.



>Hey all,
>
>I wonder if it is possible to reset the seed of an identity.
>What I want is the following:
>
>Mytable has an identity MyIdentity with seed and increment 1. Records are added. Then the last record is deleted. Is it possible to have MyIdentity of the next new line following the one of the last non deleted line ? (I hope I'm making myself clear).
>
>Greetz,
>Hans
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform