What is the buffer limit for SQLPutData()? - 11-15-2004 , 12:35 PM
I am using SQLPutData() in a loop to move a large BLOB (3MB in total) to and
from the database and when I retrieve the BLOB I find that a large section
of data has been replaced with the "BAADF00D" data sequence. This is used
in many cases to init memory, including, I believe, by XP to init the Heap.
Whatever the source, my data is getting trashed and I suspect it may be
caused by processing too much data in a single call to SQLPutData() because
this problem is occurring when I transfer 128k blocks of data in a single
call to SQLPutData() but disappears when I only transfer 32k at a time
I cannot find any information on SQLPutData() that discusses a maximum
buffer size that can be transferred in a single call, yet I suspect that
there must be a limit.
Can anyone point me to some documentation that specifies a limit?
AlKoch (AT) MyRealBoxREMOVEALLTHESECHARS (DOT) com
Re: What is the buffer limit for SQLPutData()? - 11-26-2004 , 09:37 AM
It is 32k. I cannot recall exactly where this is documented but I had seen
in in the ODBC SDK documentation.
"Al Koch" <AlKoch (AT) MyRealBox (DOT) com> wrote