You are here: Re: Forcing an IDENTITY column to have a certain value « MsSQL Server « IT news, forums, messages
Re: Forcing an IDENTITY column to have a certain value

Posted by Weyus on 06/27/07 21:02

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация