[unixODBC-support] Prepared statements and parameters binding: wrong bound value with long type

Nick Gorham nick.gorham at easysoft.com
Thu Jul 12 15:17:34 BST 2007

CastorFou wrote:

>Ok thanks it works.. I've tried like every possibility for the SQL parameter
>but never could have figured out that SQL_C_LONG would in fact stand for
>int.. :)
Its not my doing :-).

Turn it round. What would you have used to bind a 32bit value?

Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org

More information about the unixODBC-support mailing list