MySQL Forums
Forum List  »  Connector/ODBC

5.1.12 Max_Column_Name_Len returns 192
Posted by: Hannah Keller
Date: July 31, 2013 11:15AM

While using the ODBC driver version 5.01.04 and SQLGetInfoW was returning a correct length 64 for SQL_MAX_COLUMN_NAME_LEN, but when we transitioned to version 5.1.12 SQL_MAX_COLUMN_NAME_LEN and SQL_MAX_TABLE_NAME_LEN both are returning lengths of 192. Testing it, the limit still seems to be 64 as listed in the all the documentation, but for some reason we are being returned a length of 192. Has anyone else seen this and is there a reason for it? I am just trying to avoid hard-coding a maximum size of 64.

Thanks!

Options: ReplyQuote


Subject
Written By
Posted
5.1.12 Max_Column_Name_Len returns 192
July 31, 2013 11:15AM


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.