Results 1 to 3 of 3
Thread: Boolean in MySQL?
May 23, 2003, 03:53 #1
Boolean in MySQL?
Hi all. My hosting company is running MySql 3.22.32 with phpMyAdmin for administrating. When I go to add a new field, there's no BOOLEAN option. I've never noticed this before as I haven't needed one and I usually use SQL Server at work (this is a private job).
Does this version of MySQL even support true boolean or is it phpMyAdmin that's at fault and if I run the appropriate query it will work anyway...?
May 23, 2003, 04:41 #2
No MySQL does not have a BOOLEAN column type. You can use tinyint or BOOL, synonyms for CHAR(1).
May 23, 2003, 05:26 #3