Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declarative RI....
Message
From
09/05/2003 00:15:25
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Declarative RI....
Miscellaneous
Thread ID:
00786627
Message ID:
00786627
Views:
63
Can anyone point to the reason you can't do a cascade delete when there are two FK's to the same field in a table?

For example...

city has a pk of city_pk


And employee has two fk,s

homecityfk and workcityfk ... both relate to city_pk. I can create the FK constraints, but when I tell it to cascade key updates to more than one FK I am told it 'might be cylic' which it doesn't seem like it will.

does anyone know a work around (other than a trigger) for this situation, or can point me to a BOL topic on why you can't do this?

Thanks,
BOb
Next
Reply
Map
View

Click here to load this message in the networking platform