You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is caused by invalid type specification in SQLPrepare. In fact, both SQLPrepare and SQLExecDirect specify the type of the query length parameter incorrectly: the former uses Int16 and the latter Int. But according to the documentation these functions expect a SQLINTEGER, that is, Int32.
The text was updated successfully, but these errors were encountered:
When you prepare a query with ODBC, it fails when the SQL string is longer than 2^15 characters.
Here is an example:
This is caused by invalid type specification in
SQLPrepare
. In fact, bothSQLPrepare
andSQLExecDirect
specify the type of the query length parameter incorrectly: the former usesInt16
and the latterInt
. But according to the documentation these functions expect aSQLINTEGER
, that is,Int32
.The text was updated successfully, but these errors were encountered: