When connecting to a database, the application uses a set of connection parameters to define the connection. Connection parameters specify information such as the database server name, the database name, and the user ID. For a list of all supported connection parameters, see Connection parameters.
Each connection parameter specifies a keyword-value pair of the form parameter=value. The following example specifies the password connection parameter for the default password:
Password=sql |
Connection parameters are assembled into connection strings. In a connection string, a semicolon separates each connection parameter:
Host=demo12;DatabaseName=demo;ServerName=myserver |
Connecting to SQL Anywhere databases
Connection parameters passed as connection strings
Connection parameter syntax rules
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |