SByte column types and question marked prefix...
Posted by: antao
Date: November 08, 2004 04:30PM


I've just used the .NET connector for the first and noticed these two things.

1. TinyInt columns are returned has System.SByte.
Why use a non CLS-compliant type?
It also forces me to have different code for MySQL and SqlServer, as SqlServer returns System.Byte.

2. Parameter names have a question mark prefix.
The SqlClient uses a @ prefix.
The Odbc client with MyODBC uses ?, but no names
Now the MySqlClient uses a ? prefix.
Why not standardize to something?

Anyway, thanks a lot for all the work. The connector is working great, for now... ;-)
Just wanted to add my two cents...


Options: ReplyQuote

Written By
SByte column types and question marked prefix...
November 08, 2004 04:30PM

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.