Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BEGIN TRANSACTION does not protect my tables
Message
De
07/09/2002 12:12:50
 
 
À
06/09/2002 17:20:33
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Divers
Thread ID:
00697283
Message ID:
00697917
Vues:
15
This message has been marked as the solution to the initial question of the thread.
You have two options. You can use a CHECK constraint or a trigger. The CHECK constraint has the advantage that it is validated before the data modification is actually made. With SQL Server 2000, there are two type of tiggers: AFTER (the traditional one) and INSTEADOF. Either one is capable of enforcing the rule that you need.

-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