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:
01453966
Vues:
49
>Hi,
>
>I am trying to figure out if it can be specified in the SQL Server database column property that an entry is required. I don't see it but want to be sure that I am not missing something obvious. Is it possible to enforce in the database?
>
>TIA.

Try setting this constraint
LEN(Field) > 0
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform