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