OCIError

OCIError -- Return the last error of stmt|conn|global. If no error happened returns false.

Description

int OCIError(int [stmt|conn]);

OCIError() returns the last error found. If the optional stmt|conn is not provided, the last error encountered is returned. If no error is found, OCIError() returns false.