Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RI Question...
Message
From
27/02/2003 14:23:00
 
 
To
27/02/2003 12:57:50
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Miscellaneous
Thread ID:
00758896
Message ID:
00758964
Views:
19
You are allowed to have a NULL FK that is constrained by a References constraint.

-Mike

>Does the declarative RI allow for nulling the FK if the parent is deleted. For example, I want to keep invoices even after the client is deleted. So, if a client is delete I want to null client_id in the invoice file so that it won't break RI. I know I won't be able to leave the value there cause it wouldn't meet the FK constraint.
>
>Thanks,
>BOb
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform