Documentation says that if StrLen_or_IndPtr argument of the SQLPutData function is set to SQL_NULL_DATA then the value in the corresponding data buffer should be ignored. However, when I try to run the following sequence of commands using ODBCTest
set data to 100 and StrLen_or_IndPtr to SQL_NULL_DATA the behavior is as if the StrLen_or_IndPtr is set to SQL_NTS.
Am I doing something wrong or this is the bug in odbctest?