MySQL Forums
Forum List  »  General

Re: Boolean Data Types
Posted by: Bill Karwin
Date: April 05, 2006 03:23PM

Right, MySQL has no builtin Boolean data type. The usual recommendation for Java client is to use TINYINT(1).

I assume you are using .NET since you mention convert.toboolean. I don't know .NET so I can' say if the TINYINT(1) is converted to boolean gracefully as it is in JDBC.

Regards,
Bill K.

Options: ReplyQuote


Subject
Written By
Posted
April 05, 2006 12:27PM
Re: Boolean Data Types
April 05, 2006 03:23PM
April 06, 2006 09:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.