Opens a connection to the database specified by parms.
Connection openConnection( String parms)
parms A String holding the parameters for opening a connection as a set of keyword=value pairs. Parameter keywords are case-insensitive, and most values are case-sensitive.
An opened connection.
If the database does not exist, an error is thrown. You can check Connection.sqlCode within the error catching code to identify the cause of the error.
Only one database may be active at a given time. Attempts to open a connection to different database while other connections are open result in an error.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |