Disconnects a SQL Anywhere connection. All uncommited transactions are rolled back.
sqlany_disconnect ( $conn )
$conn A connection object with a connection established using sqlany_connect.
Returns a scalar value that is 1 on success or 0 on failure.
# Disconnect from the database status = api.sqlany_disconnect( conn ) print "Disconnect status = #{status}\n" |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |