Retrieving length of data in LONG RAW column
From: Brad Maxwell <bcmaxwel_at_ingr.com>
Date: 1996/07/09
Message-ID: <31E25888.718D_at_ingr.com>#1/1
Date: 1996/07/09
Message-ID: <31E25888.718D_at_ingr.com>#1/1
Can anyone tell me the best way using PRO/C to find out the size of the
data that was written to a LONG RAW column?
The only way I know to do it currently is to allocate an insufficient
amount of space in the select descriptor and fetch. Once the fetch is
executed, Oracle will tell you that there was data truncation and tell
you how many bytes were needed. Then you can reallocate the descriptor
space to that size and have at it again.
This seems like a real pain. Is there a better way?
Thanks,
Brad
bcmaxwel_at_ingr.com
Received on Tue Jul 09 1996 - 00:00:00 CEST