Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Fetching data in to a dynamically allocated data structure using OCI

210627Nov 14 2002
Hi,
I am new to OCI programming. I would like to fetch data from a SQL query in to a data structure which is dynamically allocated depending on the number of rows fetched from the query. For ex:- if I am fetching 21 rows from employee table, I would like to create an array of EMPLOYEE data structure locally with size=21 and fetch data in to that array of data structure.
Are there any samples available in OCI?.

Thanks



Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 13 2002
Added on Nov 14 2002
1 comment
303 views