Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not to use trigger? then what?
Message
 
 
À
19/06/2007 11:36:01
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01234211
Message ID:
01234293
Vues:
8
If modifications to other tables are based on changes to the original table, than you should use triggers. Otherwise modifications to data in the original table that is done ouside of srored procedures will breake data integrity.

>Thank you for reply.
>What if I want to update other tables upon insert/update/delete record on particular table? Should I use trigger or write my CRUD in SP and include logic to update other table in that SP?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform