|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
The Web Buyer's Guide is your best source for white papers on a wide range of IT products and services. This Week's Featured White Papers: Help Simplify Virtualization by IBM
|
|
#1
|
|||
|
|||
|
Does MySQL have a boolean (true/false) datatype?
|
|
#2
|
|||
|
|||
|
could try enum('0','1')
or <cut from http://www.listquest.com/lq/view.cgi?ln=mysql&mid=10917&sp=&q=boolean+data+type&b=1&s=1&o=0&ci=c052320178 > I think you should use and tinyint(1) for this until MySQL has the BIT type. This will optimized to take up only one bit in the table. </cut> |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Boolean Value |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|