Dear Maintainer, according to its description, the SQLDescribeParam() ODBC API counts the parameter numbers starting with 1. However, in the statemnt.cxx a loop over the parameters of a query is run starting with 0 as parameter number. In consequence, data type mapping of the client parameters to the query might become wrong heavily depending on the actual query itself. Problem can be easily resolved by changing SQLDescribeParam(..., i, ...); to SQLDescribeParam(..., i+1, ...); BR, Christian