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

Nick Loeve mono@trickie.org
Mon, 25 Oct 2004 11:40:26 +1000


Not likely. '' Signifies a string.


On 25/10/2004, at 11:08 AM, Michael J. Ryan wrote:

> any chance, they'll start using " for wrapping table/column names
> instead of ` ... that would make me *very* happy.
>
> Nick Loeve wrote:
>> If you use version 4.1 (probably don't though) there is now a boolean 
>> synonym that refers to tinyint(1).
>> There is also a type 'Bit'
>> http://dev.mysql.com/doc/mysql/en/Numeric_type_overview.html
>
> -- 
> Michael J. Ryan - tracker1(at)theroughnecks(dot)com - 
> www.theroughnecks.net
> icq: 4935386  -  AIM/AOL: azTracker1  -  Y!: azTracker1  -  MSN/Win: 
> (email)
>