Click here to Skip to main content
15,917,538 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Error was encored during save process some data object were not saved,


I have some serious issue in my ongoing project

i want to change in my db table(Sql2008R2)

I am trying to change in Key Relationship

Once I go through the change my table Relationship Constraint has destroyed Automatically

Step I explain you Here

Open Table Desing View

Open Relationship

Go to RelationShip and ChangeInsert Update Rule You can Notice that at bottom og pop up
Change Delete Rule No Action To Cascade

then After I am going to save if I select OK Ok Tab then my other relation ship contains Destroyed Automatically..

Plzzzz Help me out Its happen in My ongoing Projecr
Posted
Updated 12-Jan-15 0:34am
v2

1 solution

The best option would be to drop the whole table and recreate it again. I would at least do that. If the table contains data put it in a temp table or even an excel(better safe than sorry). Now recreate the table with the new PK-FK Relationship. Better write scripts to do these things instead of using the design view. I have always found it to be more of a hassle than a useful thing. Anyway that was my point of view.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900