Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent Insert Operation - Based on column values
Message
From
13/06/2003 23:38:52
Keith Payne
Technical Marketing Solutions
Florida, United States
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00799990
Message ID:
00800072
Views:
20
Doug,

Yes, a check constraint is the better way to compare two columns in the row that you are inserting.

>I'm looking into ways to prevent records from being added a table is ColumnA and ColumnB are equal. Is a check constraint on the table the right thing? Or is there a better way?
>
>Thanks
>Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform