Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
bool sasql_set_option( sasql_conn $conn, string $option, mixed $value )
在指定连接上设置指定选项的值。可以为以下选项设置值:
可以通过在 php.ini 文件中加入以下行,更改选项的缺省值。在本示例中,为 auto_commit 选项设置了缺省值。
sqlanywhere.auto_commit=0
$conn 由连接函数返回的连接资源。
$option 要设置的选项的名称。
$value 新的选项值。
TRUE(成功时)或 FALSE(失败时)。