0x00560071 (5636209) An incorrect length for a LONG VARCHAR parameter was specified.

Explanation

sqlstate: HY090

User response

Pass SQL_NTS or the correct length of the parameter.