Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » SQL Anywhere Administration Tools » Interactive SQL

Interactive SQL Next Page

Starting Interactive SQL


There are several ways you can start Interactive SQL: from a command prompt, from the Windows Start menu, and from within Sybase Central.

To start Interactive SQL (command prompt)
To start Interactive SQL (Sybase Central)
  1. From the Tools menu, choose SQL Anywhere 10 > Open Interactive SQL.

    Interactive SQL opens, and the Connect dialog appears.

  2. Enter the connection information for your database in the Connect dialog.

  3. The following steps can be used if you are using a version of Linux that supports the Linux Desktop icons and if you chose to install them when you installed SQL Anywhere 10.

    To start Interactive SQL (Linux Desktop icons)
    1. Open the SQL Anywhere 10 folder on your desktop.

    2. Double-click Interactive SQL.

      Interactive SQL opens, and the Connect dialog appears.

    3. Enter the connection information for your database in the Connect dialog.

    Note

    The following steps assume that you have already sourced the SQL Anywhere utilities. See Setting environment variables on Unix and Mac OS X.

    To start Interactive SQL (Unix command line)
    1. In a terminal session, enter the following command:

      dbisql

      Interactive SQL opens, and the Connect dialog appears.

    2. Enter the connection information for your database in the Connect dialog.

    3. Tip

      You can also access Interactive SQL from within Sybase Central in the following ways:

      • Selecting a database, and choosing Open Interactive SQL from the File menu.

      • Right-clicking a database, and choosing Open Interactive SQL from the popup menu.

      • Right-clicking a stored procedure, and choosing Execute from Interactive SQL from the popup menu. Interactive SQL opens with a CALL to the procedure in the SQL Statements pane and executes the stored procedure.

      • Right-clicking a table or view and choosing View Data in Interactive SQL. Interactive SQL opens with a SELECT * FROM table-name and executes the query.