Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FKEY and cacaded Deletes
Message
De
07/02/2002 17:14:02
 
 
À
07/02/2002 15:23:09
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Divers
Thread ID:
00616949
Message ID:
00617054
Vues:
32
You're correct. You cannot have both. All constraints are checked before the actual data modification occurs. Triggers fire after the data modification occurs. In your situation, the constraint detects that RI would be violated and prevents the operations from continuing.

For SQL Server 7.0 (and below) you have to use one or the other.

Of course, you could always upgrade to SQL Server 2000 which does support cascading deletes and updates.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform