[unixODBC-support] Regarding Unix ODBC SQLFetch issue

Nick Gorham nick at lurcher.org
Tue May 10 15:04:23 BST 2016

On 10/05/16 15:01, D Pamuleti wrote:
> Hi Nick,
> I have changed the code and it points to buffer length of 30 but still 
> getting the same error. I have attached the trace log for the same.
> Thanks,

Again, "Not that I am here to debug your application code", 30 
SQL_WCHAR, characters will occupy 60 bytes of storage, add a extra 2 
bytes for the 0x0000 at the end, then you need to allocate are tell the 
drover that the buffer size if 62 bytes.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20160510/b4930c3a/attachment-0001.html>

More information about the unixODBC-support mailing list