Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
bool sqlanywhere_commit( resource link_identifier )
不建议使用此函数。应该改用以下 PHP 函数: sasql_commit.
结束 SQL Anywhere 数据库上的一个事务,并使该事务期间所做的所有更改永久生效。仅当 auto_commit 选项为 Off 时才有效。
link_identifier 由 sqlanywhere_connect 函数返回的链接标识符。
TRUE(成功时)或 FALSE(失败时)。
本示例说明 sqlanywhere_commit 如何能够用于引起特定连接上的提交操作。
$result = sqlanywhere_commit( $conn );