Last updated on JULY 05, 2017
Applies to:Oracle ODBC Driver - Version: 10.2.0.4 to 188.8.131.52 - Release: 10.2 to 11.2
Information in this document applies to any platform.
The SQL_C_SLONG is supposed to map to a SQLINTEGER value, which is always 32-bit, even on 64-bit platforms.
However in 64-bit libsqora (Instant Client ODBC 10.2.0.4, 184.108.40.206), SQLBindParameter() with SQL_C_SLONG seems to interpret the value as a "long" (which is 64-bit on many 64-bit UNIX platforms) instead of a SQLINTEGER (which is an "int" and 32-bit on most platforms).
The problem is particularly evident on big-endian platforms like Solaris SPARC 64-bit.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms