Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent Insert Operation - Based on column values
Message
De
13/06/2003 23:38:52
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00799990
Message ID:
00800072
Vues:
22
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform