Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> OCI8 questions about OCIErrorGet()
I have a couple of questions about OCI8 OCIErrorGet() function.
From the description in [1] on pp. 13-40: "This function can be called multiple times if there are more than one diagnostic record for an error"
How does this work?
The following is a guess but how do you know when to stop the while loop?
When should we loop to get the messages?
For any return status other than OCI_SUCCESS?
while (
OCIErrorGet(errhp, recordno++, NULL, &errc, errb, errbs, OCI_HTYPE_ERROR)
Also, is there anywhere I can see the possible code returned in 'errc'? Are there #define's for these codes?
[1] "Programmer's Guide to the Oracle Call Interface", Release 8.0
Many Thanks,
Kevin.
--
--
Kevin Boyes kboyes_at_stardata.ca Star Data Systems Inc.-- Received on Wed Feb 17 1999 - 18:06:38 CST