This section covers essential information that you need to know in order to interact with SQL*Plus. Here you will learn how to start SQL*Plus, enter commands, delimit strings, and name variables.
SQL*Plus is almost always invoked by issuing the sqlplus command from your operating system command prompt. On Microsoft Windows systems, you also have the option of selecting an icon from the Start menu. Early releases of SQL*Plus on Windows used executable names such as PLUS33 and PLUS80W depending on the specific release number and on whether the DOS version or the Windows version was to be invoked.
The syntax used to invoke SQL*Plus looks like this:
sqlplus [[-S[ILENT]] [-R[ESTRICT] level] [-M[ARKUP] markup_options] [username[/password][@connect]|/|/NOLOG] [@scriptfile [arg1 arg2 arg3...]]] | - | -?
The -RESTRICT and -MARKUP parameters are new in release 8.1.6. The descriptions of the parameters follow:
Tells SQL*Plus to run in silent mode. No startup messages will be displayed; no command prompt will be displayed; no commands will be echoed to the screen.
Restricts what the user can do from SQL*Plus. The level must be one of the following:
Disables the EDIT, HOST, and ! commands.
Disables the EDIT, HOST, !, SAVE, SPOOL, and STORE commands.
Disables the EDIT, GET, HOST, !, SAVE, START, @, @@, SPOOL, and STORE commands.
Level 3 also disables the reading of the login.sql file. The glogin.sql file ...