Why SQLBindCol can not get back the c string length. - Mailing list pgsql-odbc

From Hu, Ming (Ivan)
Subject Why SQLBindCol can not get back the c string length.
Date
Msg-id 31C0F08B0D18D511ACC800508BAE7B4714512C2B@ci0026exch001u.bj.lucent.com
Whole thread Raw
Responses Re: Why SQLBindCol can not get back the c string length.
List pgsql-odbc
Hi,

I am not familiar with ODBC.

Why I can not get the actual length from StrLen_or_IndPtr,the last paramter
of SQLBindCol(). The value of it
always keep the input one.
Also, for varchar string, the return c string is with right length, while
for fixed chars in DB, the returned c string is
always with the fixed char length in DB, there are space appended in c
string.

Could anybody pls help me on it, thanks.

Best Regards
Ivan


pgsql-odbc by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: postgre 64 bit odbcdriver
Next
From: "Fatima M.Farag"
Date:
Subject: Needl help on psql-odbc setup