ODAC
Used to get an error code which resulted from previous call to the OCI interface function.
TOraSession
property LastError: integer;
Use the LastError property to get an error code which resulted from previous call to the OCI interface function.