Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reset the seed of an identity
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00920053
Message ID:
00920077
Views:
20
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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform