Running Interactive SQL

Interactive SQL is a utility that ships with SAP Sybase IQ that lets you execute SQL statements, build scripts, and display database data.

To use Interactive SQL to run a sample query, the demo database must be up and running. The connection parameters in this procedure use default login credentials and assume that iqdemo is running locally. If you installed iqdemo in another location or changed the default login, use those values instead.
  1. Open a console, and run dbisql from the $IQDIR16/bin64 directory.
  2. On the Connect dialog, enter:
    Tab Name Field Value
    Identification Authentication Database
    User ID DBA or dba (case-insensitive)
    Password sql (case-sensitive)
    Action Connect to a running database on this computer
    Server name <localhost>_iqdemo
    Database name iqdemo
    Network TCP/IP protocol options Host <localhost>
    Port 2638
  3. In the SQL Statements window, enter:
    SELECT * FROM Employees
  4. Press F9 to run the query.
Note: Interactive SQL uses the deprecated iAnywhere JDBC driver.
Related concepts
Demo Database
Running SAP Sybase IQ Server
Stopping Servers
Starting and Stopping the SAP Sybase Control Center Agent
Post-Installation Tasks