Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> OCI and ORA-01486
I am trying to fetch batches of varchar2's from a pl/sql table, and put
them into arrays of chars.
text fname[100][20];
sword *batchsize;
OCIBindByName(stmthp,bndhp,errhp,
":fname",strlen(":fname"),fname,20,SQLT_CHR,
indp, alenp, rcp, (ub4) MAX_ARRAY_LENGTH, batchsize, OCI_DEFAULT)
OCIBindArrayOfStruct(bndhp, errhp, 20,
sizeof(sb2), sizeof(ub2), sizeof(ub2))
If I set batchsize to 16 then I am fine.
If I set batchsize to 17 then I get an ORA-01486.
Any Clues?
Steve Hindmarch Received on Fri Jul 02 1999 - 09:18:35 CDT
![]() |
![]() |