Creates a connection object.
sqlany_new_connection ()
Returns a scalar value that is a connection object.
A connection object must be created before a database connection is established. Errors can be retrieved from the connection object. Only one request can be processed on a connection at a time.
# Create a connection conn = api.sqlany_new_connection() # Establish a connection status = api.sqlany_connect( conn, "UID=DBA;PWD=sql" ) print "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 |