harish_kolar
January 21st, 2004, 01:53 AM
I am using ODBC for the database connectivity in my C++ application.
I am having a binary data in one of my database columns.
To retrive this, i am calling SQLGetdata function.
For this i need to pass a char pointer with suffiecient memory allocated.
But i don't know the binary data length to allocate the memory.
How to get the length of the binary data using ODBC API.
I am not using MFC.
I am having a binary data in one of my database columns.
To retrive this, i am calling SQLGetdata function.
For this i need to pass a char pointer with suffiecient memory allocated.
But i don't know the binary data length to allocate the memory.
How to get the length of the binary data using ODBC API.
I am not using MFC.