View Single Post

   
  #2 (permalink)  
Old 03-01-2008, 02:23 PM
Marcin A. Guzowski
 
Posts: n/a
Default Re: Forcing an IDENTITY column to have a certain value

Weyus wrote:
> All,
>
> Is there any way to _set_ an IDENTITY column to have a certain value
> so as to create a gap in the set of identity values on purpose?
>
>
> All I've found is SET IDENTITY_INSERT.


There is also a DBCC command:
DBCC CHECKIDENT ('table_name', reseed, new_value)


--
Best regards,
Marcin Guzowski
http://guzowski.info
Reply With Quote