When I try to run the following sequence of commands using ODBCTest:
1.SQLBindParameter with ValueTypeQL_C_NUMERIC, ParameterTypeQL_NUMERIC, and StrLen_or_IndPtr = SQL_DATA_AT_EXEC=-2 (3.0)
2. update t set n = ?
4.SQLPutData with set data to 100 and StrLen_or_IndPtr to SQL_NTS.
N is updated to 0. However, if I run SQLBindParameter with ValueType: SQL_C_Char
N is updated to 100. Why?