Error in assignment (SQL-22005) when using SQLParamOptions and SQL_C_CHAR
172604Nov 30 2006 — edited Dec 1 2006I am getting "Error in assignment" when I use SQLParamOptions to bulk insert rows to a numeric data type (INTEGER, NUMERIC, REAL, etc) with a C type of SQL_C_CHAR. Based on the ODBC specs it should do the conversion for me, but TimesTen pukes. Oddly it works fine id you are only inserting one row, and it does work fine if you store the value as a SLONG and insert it into an INTEGER.
Basically, I am working on adding bulk insert into the DBD::TimesTen driver, VARCHAR's work fine.