Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Triggers
Message
 
 
À
25/02/2009 09:21:21
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01383955
Message ID:
01384049
Vues:
38
>Bob, I plan to have the business logic be the primary enforcer of this rule, but I also wanted to enforce it at the database level. So would the best way to "fail" the update be to make the trigger throw an exception?
>
In my opinion - yes, it's better to do on the database level in addition to front-end.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform