Example of an Interactive SQL Session
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
A typical ISQL session uses the following sequence:
-
Start the ISQL tool. Do one of the following:
- On Windows, double-click the jdbcisql.bat file in the install_dir\isql folder. Or, from a command prompt, change to the install_dir\isql folder and run the jdbcisql.bat file.
- On Linux and UNIX, change to the install_dir\isql directory and run jdbcisql.sh.
The Interactive SQL prompt appears.
-
Connect to the sample data source
test_servername. Type:CONNECT test_servername; -
Issue a SQL command to query or modify the data source. For example:
SELECT * FROM emp; -
Disconnect from the data source. Type:
DISCONNECT; -
Exit from the ISQL program. Type:
EXIT
Note that the JDBC client supports the use of IPv6 addresses in JDBCISQL. For example:
connect pooh*bear@[fe80::250:56ff:fe83:7290%4]:19988;
ServerDataSource=Default;