On Wed, May 13, 2009 at 9:18 AM, John Andersen <[email protected]> wrote:
>
> Hi Drake,
>
> You should not use a NULL as a meaningfull value (NULL is exactly - no
> value). If you want your questions to reflect the possibilities of:
> 1) Not answered.
> 2) A Yes answer;
> 3) A No answer;
> you should design your column accordingly - to be able to hold three
> values (0 - not answered, 1 - No, 2 - Yes)

I disagree (you knew someone would, with a subject like NULL). If the
question wasn't answered, NULL is exactly what's needed, as there can
then be no meaningful value associated with the field.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to