[Mono-list] Cast a char(1) to a boolean

Eric Damron edamron@spamcop.net
Fri, 22 Oct 2004 22:05:04 -0700


I was told to use a char(1) in a MySQL database since it doesn't have a 
boolean type.  I retrieve a char(1) field but I can't seem to cast it to 
be a boolean.  How is this done?

Thanks.