-10406: Invalid data length for UCS2 data for parameter/column (<number>)

Explanation:

The UNICODE value (UCS2) of parameter/column <number> could not be read or inserted, because the number of characters is uneven. UNICODE values (UCS2) can only be converted to ASCII if the number of characters to be converted is even.

User Action:

·        Check the number entered for the LengthIndicator argument for the SQLDBC_PreparedStatement::bindParameter method.

·        Make sure that the concluding 0-byte in the character set is not counted.