June 26, 2009 at 2:10 pm
How can we update the IDENTITY seed for a primary key column..
I would like to make it higher ... right now there is no data in the table.
However, It has a bunch of relationships.
thanks
Dam again!
June 26, 2009 at 3:00 pm
DBCC CHECKIDENT
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2009 at 9:47 am
Thank you
Dam again!
June 29, 2009 at 5:20 am
You're welcome. Thanks for the response.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2009 at 10:30 am
DBCC CHECKIDENT([tablename], RESEED, [new_reseed_value])
GO
Thanks,
Amol
Amol Naik
June 30, 2009 at 4:13 pm
Heh... nice to have confirmation. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply