Isql
Commands
Isql
commands affect the running of isql
itself and do not affect the database or data in any way.These commands are used to display help, run scripts, create listings and so on.You can easily see a list of the available commands by typing the help
command which will produce the following output:
SQL> help; Frontend commands: BLOBDUMP <blobid> <file> -- dump BLOB to a file BLOBVIEW <blobid> -- view BLOB in text editor EDIT [<filename>] -- edit SQL script file and execute EDIT -- edit current command buffer and execute HELP -- display this menu INput <filename> -- take input from the named SQL file OUTput [<filename>] -- write output to named file OUTput -- return output to stdout SET <option> -- (Use HELP SET for complete list) SHELL <command> -- execute Operating System command in sub-shell SHOW <object> [<name>] -- display system information <object> = CHECK, COLLATION, DATABASE, DOMAIN, EXCEPTION, FILTER, FUNCTION, GENERATOR, GRANT, INDEX, PACKAGE, PROCEDURE, ROLE, SQL DIALECT, SYSTEM, TABLE, TRIGGER, VERSION, USERS, VIEW EXIT -- exit and commit changes QUIT -- exit and roll back changes All commands may be abbreviated to letters in CAPitals
Each of these commands will be discussed in the following sections.Note the last line of output from the help
command.It explains that each of the commands may be abbreviated to just those letters displayed in capital letters.In the following discussion, the optional characters will be displays, as above, in lower case letters.For example, the input
command will be shown as INput
to indicate that the characters 'put' are optional.