>>>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