Propery type for Bool values for datasets

Propery type for Bool values for datasets

Postby KW » Tue 28 Oct 2008 01:21

Is there any mysql data type that will properly match to a bool value?

If not, what is the recommended data type for booleans?
KW
 
Posts: 117
Joined: Tue 19 Feb 2008 19:12

Postby Shalex » Tue 28 Oct 2008 08:31

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.
Shalex
Devart Team
 
Posts: 7377
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for MySQL