Re: Idendity column on MS SQL
- From: "Yorai Aminov (TeamB)" <yaminov@xxxxxxxxx>
- Date: 22 Jul 2008 09:06:00 -0700
Eugene V. Goldberg wrote:
Is there a way to remove the AutoInc flag, so i can put exact value
in the field?
You can't remove the flag (you have to drop and recreate the column),
but you can set the value of identity columns if you execute a SET
IDENTITY_INSERT statement:
http://msdn.microsoft.com/en-us/library/aa259221(SQL.80).aspx
--
Yorai Aminov (TeamB)
(TeamB cannot answer questions received via email.)
Shorter Path - http://www.shorterpath.com
Yorai's Page - http://www.yoraispage.com
.
- Follow-Ups:
- Re: Idendity column on MS SQL
- From: Eugene V. Goldberg
- Re: Idendity column on MS SQL
- References:
- Idendity column on MS SQL
- From: Eugene V. Goldberg
- Re: Idendity column on MS SQL
- From: Yorai Aminov (TeamB)
- Re: Idendity column on MS SQL
- From: Eugene V. Goldberg
- Idendity column on MS SQL
- Prev by Date: Re: Basics
- Next by Date: Really slow access to TADODataSet
- Previous by thread: Re: Idendity column on MS SQL
- Next by thread: Re: Idendity column on MS SQL
- Index(es):