PHP 手冊
前一頁 |  | 下一頁

# ora_commit

(PHP 3, PHP 4 , PHP 5)

ora_commit -- Commit an Oracle transaction

## Description

bool ora_commit ( resource conn )

This function 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.

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

See also ora_commiton() and ora_commitoff().

前一頁 | 內容 | 下一頁
ora_columntype | 上一層 | ora_commitoff