Forum und email

ora_rollback

(PHP 4, PHP 5 <= 5.0.5)

ora_rollback — Rolls back a transaction

說明

bool ora_rollback ( resource $connection )

Rollbacks an Oracle transaction.

See ora_commit() for the definition of a transaction.

參數

connection

A connection identifier, opened with ora_logon().

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE。 Details about the error can be retrieved using the ora_error() and ora_errorcode() functions.

更新日誌

版本 說明
5.1.0

The oracle extension is deprecated in favor of oci8.

註釋

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