Unanswered: How can I get the last OCI function called (OCI_ATTR_FNCODE)?
I am working on migrating an OCI application that used Oracle7 functions and structures. One of the items the application uses is the OCI function code from the cursor data area (cda.fc). The equivalent of this in Oracle8i was using OCIAttrGet() with OCI_ATTR_FNCODE.
However, this doesn't work in Oracle10 (always returns 0), and since Oracle9, this attribute is not even documented.
Does anyone know how to get the last OCI function called?