Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in SQL Server only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
SQL Server
How to reset Identity column
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
rsrinivasan
New Member
Join Date:
Mar 2007
Posts:
221
#1
How to reset Identity column
Jun 16 '08, 06:00 AM
Hi all,
I have a table with one identity column. I want to reset that column from 0(zero).
How can i achive it.
Thanks,
Delerna
Recognized Expert
Top Contributor
Join Date:
Jan 2008
Posts:
1134
#2
Jun 16 '08, 06:22 AM
Do you mean reset it
TO
zero ? Is the table empty of records?
Design the table
Turn identity off
close and save the table
design the table
turn identity back on
close and save the table
the identity count is now reset
I hope you don't have other tables with data that is referencing this table you are resetting
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment