Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete in child table should update parent modidate
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Divers
Thread ID:
00760229
Message ID:
00760243
Vues:
13
>>You can use delete trigger on CartContent table.
>>
>Thanks, just wanted to make sure, there is no other way. I'll try to write it tomorrow... Would it only need to handle updates, since I set cascading deletes?

There's another way. You can issue UPDATE command on Cart table every time you delete from CartContent table but it doesn't seem like a right way to do that.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform