Ora_Error

(PHP 3, PHP 4 >= 4.0.0)

Ora_Error -- Oracle hibaüzenet lekérése

Leírás

string Ora_Error (int kurzor_or_connection)

Hibaüzenetet ad vissza a XXX-NNNNN formában. A XXX a hiba forrása, a NNNNN pedig a hiba azonosítója.

Megjegyzés: A csatlakozás id-k támogatása a 3.0.4-verzótol van.

Az Oracle Unix verzióin egy hibáról a következőképpen lehet részleteket megtudni: $ oerr ora 00001 00001, 00000, "unique constraint (%s.%s) violated" // *Cause: An update or insert statement attempted to insert a duplicate key // For Trusted ORACLE configured in DBMS MAC mode, you may see // this message if a duplicate entry exists at a different level. // *Action: Either remove the unique restriction or do not insert the key