SQL_C_REAL
, SQL_C_DOUBLE
, and SQL_C_FLOAT
?We build the Easysoft ODBC-ODBC Bridge for OpenVMS with the DECC qualifier /FLOAT=G_FLOAT
.
An SQL_C_REAL
should be a F_FLOAT
. An SQL_C_DOUBLE
should be a G_FLOAT
. An SQL_C_FLOAT
should be a F_FLOAT
. For example, if you call SQLGetData
asking for a SQL_C_FLOAT
, you should get a VMS F_FLOAT
back.
The ODBC-ODBC Bridge converts floats and doubles on the remote machine to the local machine format.