Forum und email
ora_rollback

ora_rollback

(PHP 3, PHP 4, PHP 5 <= 5.1.0RC1)

ora_rollback -- Rolls back a transaction

Popis

bool ora_rollback ( resource connection )

Rollbacks an Oracle transaction.

See ora_commit() for the definition of a transaction.

Seznam parametrů

connection

A connection identifier, opened with ora_logon().

Návratové hodnoty

Vrací TRUE při úspěchu, FALSE při selhání. Details about the error can be retrieved using the ora_error() and ora_errorcode() functions.

ChangeLog (záznam změn)

VerzePopis
5.1.0

The oracle extension is deprecated in favor of oci8.

Poznámky

When using oci8 as a replacement for the deprecated oracle extension, consider using:

oci_rollback()