Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
To connect to a database using an ODBC data source, use the Connect window with the ODBC Data Source name option.
An ODBC data source for the database that you want to connect to.
The SQL Anywhere 16 Demo data source is configured to start the database server and database if they are not already running. If your ODBC data source is not configured to start the database and database server, then you must start them. For example, run the following command to start the sample database:
dbsrv16 -n demo16 "%SQLANYSAMP16%\demo.db;"
Open the Connect window from an administration tools, such as Interactive SQL.
Complete the following fields to connect to the database:
In the Authentication dropdown list, click Database.
In the User ID field, type a user name. For example, type DBA.
In the Password field, type a password for the user. For example, type sql.
In the Action dropdown list, click Connect with an ODBC Data Source.
Do one of the following:
Click ODBC Data Source name and type the name of the data source. For example, type SQL Anywhere 16 Demo.
Click ODBC Data Source file and type the FileDataSourceName (FILEDSN) connection parameter that references a data source held in a file.
(Optional) To get a copy of the connection string that is created with this window, click Tools » Copy Connection String to Clipboard.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|