in reply to Using perl dbi and Sybase IQ doing insert with placeholder getting datatype error


IQ is built on top of SQL Anywhere; that's where you get the SQL Anywhere mention.

I found some discussion on a SAP board that got this error while inserting a null as a datetime. Apparently, nulls get counted as int, but it's not clear that this bears on your problem. Darn.

I suspect the problem may be with the ODBC driver. Not a whole lot of help.