Many examples and exercises throughout the documentation start by connecting to the sample database from Sybase Central or Interactive SQL.
Start Sybase Central: from the Start menu, choose Programs > SQL Anywhere 10 > Sybase Central.
Open the Connect dialog: choose Connections > Connect with SQL Anywhere 10.
Select the ODBC Data Source Name option and click Browse.
Select SQL Anywhere 10 Demo and then click OK.
Start Interactive SQL: from the Start menu, choose Programs > Sybase > SQL Anywhere 10 > Interactive SQL.
Open the Connect dialog: from the SQL menu, choose Connect.
Select the ODBC Data Source Name option and click Browse.
Select SQL Anywhere 10 Demo and then click OK.
The database name, user ID, and server name appear in the title bar above the SQL Statements pane.
NoteYou do not need to enter a user ID and a password for this connection because the data source already contains this information. |
In Sybase Central or Interactive SQL, open the Connect dialog.
On the Identification tab, type the following values:
User ID Type DBA.
Password Type sql.
On the Database tab, type or browse to the location of the sample database file, demo.db. By default, this file is located in samples-dir. For example, on Windows XP the default location is C:\Documents and Settings\All Users\Documents\SQL Anywhere 10\Samples\demo.db.
For information about samples-dir, see Samples directory.
Click OK.