Link to home
Start Free TrialLog in
Avatar of gianitoo
gianitoo

asked on

set identity off

look at link below
http://www.indianayouthsoccer.org/demonews.asp


i have a database with many relationships and i need to change the id of an article who had identity set.   when i create an update in sql it tellls me that icannot do it because is identity.    i trtied to set identity off but it gives me a message that other related tables will update....i just want to take identy for one second make an id change and then put it back in place as identity.

is this going to mess my table relationships???    i have so many people using this and i cant affor a big mess up.

need advice
ASKER CERTIFIED SOLUTION
Avatar of Viggee
Viggee

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gianitoo
gianitoo

ASKER

what happened if i do it from enterprise manager   and i just go to the parent table and set it to no identity made my change in the table  (record  70  needs to be 80)  and chaneg it back to identyty yes
if u r doing in EM,

remove the foreign key relationship
perform ur update
reapply the relationship.