In an INSERT or UPDATE statement, at most one LONG column may contain a NULL value if LONG columns are inserted using SQLParamData and SQLPutData.
Only include one LONG column in the statement, or use empty strings instead of NULL values.