Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BEGIN TRANSACTION does not protect my tables
Message
From
07/09/2002 12:12:50
 
 
To
06/09/2002 17:20:33
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
00697283
Message ID:
00697917
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform