Hi there,
I'm just wondering what the advantages of using cursor variables are over using collection types(eg: pl/sql tables) to handle multi-row queries(I would be passing the results back to a Pro*C application).
I was working on a system which uses pl/sql tables(
TYPE CHAR_ARRAY IS TABLE OF VARCHAR2(4000) INDEX BY BINARY_INTEGER
but I'm thinking of switching to cursor variables for a new system. Also - is there a 32K limit on the amount of data which can be passed from a pl/sql stored program to a Pro*C
application(I have been told that there is but can't seem to find any documentation on it)and if so would cursor variables avoid having to make repeated calls to the pl/sql
code(if the data was over 32K) as it is simply a pointer to the data?
Thanks in advance for any advice/suggestions...
Susan.
I'm just wondering what the advantages of using cursor variables are over using collection types(eg: pl/sql tables) to handle multi-row queries(I would be passing the results back to a Pro*C application).
I was working on a system which uses pl/sql tables(
TYPE CHAR_ARRAY IS TABLE OF VARCHAR2(4000) INDEX BY BINARY_INTEGER
but I'm thinking of switching to cursor variables for a new system. Also - is there a 32K limit on the amount of data which can be passed from a pl/sql stored program to a Pro*C
application(I have been told that there is but can't seem to find any documentation on it)and if so would cursor variables avoid having to make repeated calls to the pl/sql
code(if the data was over 32K) as it is simply a pointer to the data?
Thanks in advance for any advice/suggestions...
Susan.