Page 1 of 1

Propery type for Bool values for datasets

Posted: Tue 28 Oct 2008 01:21
by KW
Is there any mysql data type that will properly match to a bool value?

If not, what is the recommended data type for booleans?

Posted: Tue 28 Oct 2008 08:31
by Shalex
We recommend to use the TINYINT(1) data type.

Please refer to http://dev.mysql.com/doc/refman/6.0/en/ ... rview.html , the "BOOL, BOOLEAN" section.