nmarano
asked on
setting identify field off
Experts-
I'm trying to update an ID field that is set as an identifying field. I tried using the query below, but get an error that says,"cannot update identity column 'ID' Can someone help me with this?
SET IDENTITY_INSERT [prospects] OFF
UPDATE prospects
set ID = 145191
where id = 145540
I'm trying to update an ID field that is set as an identifying field. I tried using the query below, but get an error that says,"cannot update identity column 'ID' Can someone help me with this?
SET IDENTITY_INSERT [prospects] OFF
UPDATE prospects
set ID = 145191
where id = 145540
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I switched it to an insert,
Open in new window