How do I set a bind buffer for multiple rows collection? We have an array of
records, not separate arrays for the data.
Previously, we would do something like this:
odefin(&cda, nLoop + 1, (unsigned char ) (pRowData + lRowLength +
(sizeof(short) * m_cnx_oracle_fetch_count)), pCCS->lColumnLength, nType, -1,
(short ) (pRowData + lRowLength), 0, -1, -1, (unsigned short *) (pRowData +
lRowLength + ((sizeof(short) + pCCS->lColumnLength) *
m_cnx_oracle_fetch_count)), 0);
How can I tell Oracle to read 6000 rows at once (for instance)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I discovered what I needed to know.
odefin() and friends from Oracle 7 were replaced with OCIDefineByPos() which
has the nearest OCILIB analog of OCD_DefineDef(), and OCI_ResultsetCreate() is
the higher level approach for the same concept.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do I set a bind buffer for multiple rows collection? We have an array of
records, not separate arrays for the data.
Previously, we would do something like this:
odefin(&cda, nLoop + 1, (unsigned char ) (pRowData + lRowLength +
(sizeof(short) * m_cnx_oracle_fetch_count)), pCCS->lColumnLength, nType, -1,
(short ) (pRowData + lRowLength), 0, -1, -1, (unsigned short *) (pRowData +
lRowLength + ((sizeof(short) + pCCS->lColumnLength) *
m_cnx_oracle_fetch_count)), 0);
How can I tell Oracle to read 6000 rows at once (for instance)?
I discovered what I needed to know.
odefin() and friends from Oracle 7 were replaced with OCIDefineByPos() which
has the nearest OCILIB analog of OCD_DefineDef(), and OCI_ResultsetCreate() is
the higher level approach for the same concept.