|
sqlanywhere_commit
Prototype
bool sqlanywhere_commit( resource link_identifier )
Description
Ends a transaction on the SQL Anywhere database and makes any
changes made during the transaction permanent. Useful only when the
auto_commit option is Off.
Parameters
link_identifier The link
identifier returned by a sqlanywhere_connect function.
Returns
True on success or false on failure.
Example
This example shows how sqlanywhere_commit can be used to cause a commit on a
specific connection.
$result = sqlanywhere_commit( $conn );
Related functions
sqlanywhere_rollback
sqlanywhere_set_option
|