You can use Interactive SQL to connect to a SQL Anywhere database, an UltraLite database, an SAP Sybase IQ database, an SAP HANA database, or a generic ODBC database.
Prérequis
Linux You must have a version of Linux that supports the Linux desktop icons, and they must have been installed when you installed SQL Anywhere.
Unix and Mac OS X The SQL Anywhere utilities must already be sourced. See Unix and Mac OS X environment variables.
Open Interactive SQL and connect to a database.
Option | Action | ||
---|---|---|---|
Command line and/or Unix |
Run the following command:
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. |
||
Windows |
|
||
Sybase Central |
TipYou can also use one of the following methods to access Interactive SQL from Sybase Central:
|
||
Mac OS X |
|
||
Linux |
|
Exemple
To start Interactive SQL and connect to the sample database from the command line, run the following command:
dbisql -c "UID=DBA;PWD=sql;DSN=SQL Anywhere 16 Demo" |
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |