Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can non-empty rule be in database?
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01453964
Message ID:
01453984
Views:
36
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform