using host arrays in PRO*C
From: Shneor Berezin <sber_at_netcom.com>
Date: 1995/08/15
Message-ID: <sberDDD5s3.B6t_at_netcom.com>#1/1
Date: 1995/08/15
Message-ID: <sberDDD5s3.B6t_at_netcom.com>#1/1
I wonder how the dimension of host arrays in PRO*C is determined by Oracle.
Looking at the generated C code, only the address of the array is being
passed to sqlcex.
The dummy at Oracle technical support told me, that this is proprietary
information and I don't need to know. Unbelievable!!!
Personally, I don't know of any reliable way of determining the size of
an array allocated on the heap. Has anybody tried to use a host array
allocated on the heap? Would it help if I use a FOR clause?