Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a check constraint
Message
De
28/11/2005 08:52:23
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
 
 
À
28/11/2005 08:38:02
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01072346
Message ID:
01072399
Vues:
21
It's a bracket thing, try this:

(0>(SELECT COUNT(*) FROM pos_s_invoice WHERE (doc_no IS NOT NULL and pos_is <> 899)GROUP BY doc_no HAVING (COUNT(*) > 1)))

>Hi Jon,
>
>thanks for you reply. I tried the code but i still have the same problem. In fact i don't see any difference between your code and mine except for the table and field names. Where are you inserting this code ?
>Is it when you do a right click on your table, than choose design table,right click check constrains and then new ?
>
>thnx
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform