C# MySql and Boolean
Posted by: mike
Date: December 24, 2004 02:51PM

I am mygrating from MS Sql Server to MySql and will be using the .NET Connector.

I just did this with a hand full of older asp apps, and my Bit columns were converted to TINYINT(1), this in turned caused hundreds of bugs in my asp vbscript.

Looking through the docs it seems like I should start using the BOOL alias when I convert my .NET MS SQL Databases to MySQL, in preperation for true BOOL support being added to MySql, and hopefully to get boolean types from the .Net connector.

Will .Net connector return a C# boolean type?

I think this is a no brainer, just call GetBoolean(), but what happens when you cast using (bool)?

Any other thoughts on this?

Thanks,

Mike

Options: ReplyQuote


Subject
Written By
Posted
C# MySql and Boolean
December 24, 2004 02:51PM
December 29, 2004 08:15AM
January 07, 2005 08:34AM


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.