General information
Forum:
Microsoft SQL Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only