[thelist] MySQL data types

Mark Howells mark at mountain.ch
Wed Jan 16 16:37:05 CST 2002


I'm assuming that the column isn't "NOT NULL"? The integer equivalent of 
null is 0, which may be where the value comes from.

Mark Howells
<http://www.mark.ac/evl>

On Wednesday, January 16, 2002, at 11:27  PM, noah wrote:

> even if the default for a tinyint column is set to be null, if a record 
> is entered without information for that column, the value is set to 0 
> (i.e., it isn't null)
Mark Howells
Working in a Winter Wonderland
<http://www.mark.ac>





More information about the thelist mailing list