Re: Forcing an IDENTITY column to have a certain value



On Jun 27, 3:28 pm, "Marcin A. Guzowski"
<tu_wstaw_moje_i...@xxxxxxxxxxxxx> wrote:
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 Guzowskihttp://guzowski.info

Thanks,
That's what I needed!

Wes

.