Forum und email

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

oracle 확장은 권장되지 않습니다. oci8를 사용하십시오.

주의

권장되지 않는 oracle을 대신하여 oci8를 사용할 때는 다음을 고려하십시오: