There are several ways you can start Interactive SQL: from a command prompt, from the Windows Start menu, and from within Sybase Central.
Run the following command:
dbisql |
If you do not include the -c option, which specifies the connection parameters for the database, or if you supply insufficient connection parameters, the Connect window appears, where you can enter connection information for the database. See Connection parameters.
To start Interactive SQL and connect to the sample database, run the following command:
dbisql -c "UID=DBA;PWD=sql;DSN=SQL Anywhere 11 Demo" |
For information about the supported options, see Interactive SQL utility (dbisql).
From the Start menu, choose Programs » SQL Anywhere 11 » Interactive SQL.
Enter the connection information for your database in the Connect window.
Click OK.
From the Tools menu, choose SQL Anywhere 11 » Open Interactive SQL.
Enter the connection information for your database in the Connect window.
Click OK.
You can also use one of the following methods to access Interactive SQL from Sybase Central:
Selecting a database, and choosing Open Interactive SQL from the File menu.
Right-clicking a database, and choosing Open Interactive SQL.
Right-clicking a stored procedure, and choosing Execute From Interactive SQL. 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.
In a terminal session, run the following command:
dbisql |
Enter the connection information for your database in the Connect window.
Click OK.
In the Finder, double-click Interactive SQL in /Applications/SQLAnywhere11.
Enter the connection information for your database in the Connect window.
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 11.
From the Applications menu, choose SQL Anywhere 11 » Interactive SQL
Enter the connection information for your database in the Connect window.
Click OK.
The following steps assume that you have already sourced the SQL Anywhere utilities. See Setting environment variables on Unix and Mac OS X.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |