Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can non-empty rule be in database?
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01453964
Message ID:
01453984
Vues:
37
>>>Thank you. Is this a "good practice" setting up this type of constraint in the database?
>>>
>>
>>Yes. Setting up constraints in a database to prevent invalid input is a good practice.
>
>I realize that. I meant the constraint like "len(field)>0". Kind of seems to be odd but I have never set up constrains so what do I know. Thank you.

This constraint is perfectly fine.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform