Chapter 3
ISQL Statements
3.1OVERVIEW
This chapter describes only those statements that are specific to ISQL. See the
3.2STARTING INTERACTIVE SQL
Start ISQL by issuing the isql command at the shell prompt.
$ isql sampledb
ISQL>
Issue
To execute host operating system commands from the ISQL prompt, type HOST followed by the operating system command. After completion of the HOST statement, the ISQL> prompt returns. To execute SQL scripts from ISQL, type @ followed by the name of the file containing SQL statements.
To exit from interactive SQL, type EXIT or QUIT.
You can supply optional switches and arguments to the isql command.
Syntax
isql
Arguments
-s script_file
The name of an SQL script file that
Note: For Windows platforms, if the file name has a space, such as: test script.sql
FairCom Corporation |