Many of the examples throughout the documentation use the SQL Anywhere sample database. Connect to this database and explore SQL Anywhere.
The following procedure uses Interactive SQL to connect to the database. Ensure that the Java Runtime Environment (JRE) is installed.
In a typical Unix installation, the SQL Anywhere software, including the sample database, is installed into a directory that you do not have permissions to write to. Before you begin, in a terminal window, change to a writable folder. Run the following command to copy the sample database file into the folder:
Start the sample database on a database server:
Context and remarks
To connect using Mac OS X, see Connecting to the sample database on Mac OS X.
In a terminal window, start Interactive SQL:
The Connect window appears by default.
Provide the following information in the Connect window:
In the User ID field, type DBA.
In the Password field, type sql.
In the Action dropdown list, click Connect To A Running Database On This Computer.
In the Server Name field, type demo.
Optional: To get a copy of the connection string that is created with this window, click Tools » Copy Connection String to Clipboard.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|