Oracle
PHP Manual

ora_commit

(PHP 4, PHP 5 <= 5.0.5)

ora_commit — Commit an Oracle transaction

Описание

bool ora_commit ( resource $connection )

Commits an Oracle transaction.

A transaction is defined as all the changes on a given connection since the last commit/rollback, autocommit was turned off or when the connection was established.

Список параметров

connection

A connection identifier, opened with ora_logon().

Возвращаемые значения

Возвращает 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:

Смотрите также


Oracle
PHP Manual