Function calls to
|
Setting
|
Override
|
---|---|---|
SQLBindCol or SQLSetDescField
|
SQL_DESC_TYPE field in an ARD is set to SQL_C_NUMERIC
|
SQL_DESC_SCALE field in the ARD is set to 0 and the SQL_DESC_PRECISION field is set to a driver-defined default precision. See [1].
|
SQLBindParameter or SQLSetDescField
|
SQL_DESC_SCALE field in an APD is set to SQL_C_NUMERIC
|
SQL_DESC_SCALE field in the ARD is set to 0 and the SQL_DESC_PRECISION field is set to a driver-defined default precision. This is true for input, input/output, or output parameters. See [1].
|
SQLGetData
|
Data is returned into an SQL_C_NUMERIC structure
|
Default SQL_DESC_SCALE and SQL_DESC_PRECISION fields are used. See [2].
|