Contents Index Simple connection examples Connecting to a database on your own machine from Sybase Central or Interactive SQL

ASA Database Administration Guide
  Connecting to a Database
    Simple connection examples

Connecting to the sample database from Sybase Central or Interactive SQL


Many examples and exercises throughout the documentation start by connecting to the sample database from Sybase Central or Interactive SQL.

To connect to the sample database (Sybase Central)

  1. To start Sybase Central: from the Start menu, choose Programs > Sybase SQL Anywhere 9 > Sybase Central.

  2. To open the Connect dialog: from the Tools menu, choose Connect.

  3. Select the ODBC Data Source Name option and click Browse.

  4. Select ASA 9.0 Sample and click OK.

To connect to the sample database (Interactive SQL)

  1. To start Interactive SQL: from the Start menu, choose Programs > Sybase > SQL Anywhere 9 > Adaptive Server Anywhere > Interactive SQL.

  2. To open the Connect dialog: from the SQL menu, choose Connect.

  3. Select the ODBC Data Source Name option and click Browse.

  4. Select ASA 9.0 Sample and click OK.

    The database name, user ID, and server name appear in the title bar above the SQL Statements pane.

Note 

You do not need to type a user ID and a password for this connection because the data source already contains this information.


Contents Index Simple connection examples Connecting to a database on your own machine from Sybase Central or Interactive SQL