Starting An Isql
Session
To begin an isql
session, enter the commandline options and the name of the database in the Linux /Unix shell or Windows command console.For example:
isql [options] [<database_name>]
Note
|
When invoking isql -user SYSDBA -password masterkey |
Isql
starts an interactive session if no options are specified.If no database is specified, users must connect to an existing database or create a new one after starting isql
.If a database is specified, it starts the interactive session by connecting to the named database, provided the login options are accurate and valid for the specified database.Depending on the options specified, isql
starts an interactive or non-interactive session.
Reading an input file and writing to an output file are not considered interactive tasks, therefore the -input
or -output
commandline options do not initiate an interactive session.Options used to extract DDL statements, such as -a
and -x
also initiate a non-interactive session.
Isql
can be run from either a local or remote client:
-
When connecting using a local client, you may set the environment variables
ISC_USER
andISC_PASSWORD
.For more information on these, see below. -
When connecting from a remote client, you will need a valid name and password.