Re: [unixODBC-support] Specifying a "0" for the “StrLen_or_IndPtr” in the SQLBindParameter call is not working on AIX.

Nick Gorham nick.gorham at
Tue Nov 21 16:18:53 GMT 2006

shiv kumar wrote:

> Hi All,
> Please find the simplified below code which is giving problem: In the 
> code
> if I replace the "ValSz_ind3 = 8;"  to  "ValSz_ind3 = 0;" then the
> SQLExecute is returning the SQL_ERROR. Unfortunately after this if I call
> "SQLGetDiagRec" it is returning a null empty string. The same code is
> working well with the solaris and unix. I am using the uniXODBC
> 2.2.11version and hopefully I am not building it as 64-bit driver.

I would expect this to be a driver issue.


Nick Gorham
Easysoft Limited,

More information about the unixODBC-support mailing list