harish_kolar
January 23rd, 2004, 01:16 AM
I am using SQLGetData function to get the binary data.
for few data i am getting the proper length in StrLen_or_IndPtr field(last parameter). For few data i am getting StrLen_or_IndPtr as -1 (SQL_NULL_DATA), even though data is present. What may be the reason and solution for this.
I am using SQL_C_BINRAY as the datatype.
for few data i am getting the proper length in StrLen_or_IndPtr field(last parameter). For few data i am getting StrLen_or_IndPtr as -1 (SQL_NULL_DATA), even though data is present. What may be the reason and solution for this.
I am using SQL_C_BINRAY as the datatype.