Sqlplus suppress /&1

Hi,
I have a generic statement like this:
startup nomount pfile=/&&1/dbs/init&&2..ora;
calling the script on Solrais 5.9 with:
sqlplus / @mydb ${ORACLE_HOME}     ${ORACLE_SID}
shows this:
LRM-00109: could not open parameter file '//oracle/ora92/dbs/initSMEP1.ora'
What happened to my &&1 ????
Why ampersand is suppressed behind a / but well identified if another character is leading ? escaping it does not help (of course, that's not logic !)
thanks for any tip
LaoDe

Problem solved ! stupid error from my own !
I just forgot to copy init.ora to its home, so variable was empty :-(((
Thanks for listening anyway

Similar Messages

  • How can I suppress @ from prompting in a file when I run slqplus cmnd line

    I should know this, but varied searches have come up with nothing :-(
    I have a script myscript.sql which inserts data, mostly email addresses such as '[email protected]'. When I run this script command line for example:
    sqlplus scott/tiger @myscript.sql
    The script prompts me at every @ expecting an input param. How do I escape, ignore, suppress that? Each of the @'s in the file are already either in quotes or comment headers.

    My bad, you're right - it wasn't the @, it was a completely munged script which dos-to-unix fixed. Although it was odd that I was getting prompted. I'm chalking it up to some weird anomaly. I'm returning to the Oracle world after a 2 year hiatus and dusting off the cobwebs...
    Thanks -

  • How to suppress spaces in spool file

    Hi,
    i want to generate a sqlplus spoolfile, but trim doesn't suppress leading spaces. What do i make wrong?
    For example the value in column 4 is 9 not " 9" . It's a char(1) column
    SQL> SELECT STICHTAG||';',
    2 KONTO_LIEFERID||';',
    3 KONTONUMMER||';',
    4 TRIM(ARBEITSZIFFER)||';'
    5 FROM av_abst_mp_ifrs
    6 WHERE stichtag='20081230'
    7 AND kontonummer='9851674900'
    8 /
    20081230; K01; 9851674900; 9;
    20081230; K01; 9851674900; 9;
    20081230; K01; 9851674900; 9;
    20081230; K01; 9851674900; 9;
    20081230; K01; 9851674900; 9;
    20081230; K01; 9851674900; 9;
    20081230; K01; 9851674900; 9;
    20081230; K01; 9851674900; 9;

    Hi,
    The spaces at the output is the spaces for the columns (Not spaces for the column values), you can concat all values at one column, like this...
    SQL> SELECT STICHTAG||';'||
    2 KONTO_LIEFERID||';'||
    3 KONTONUMMER||';'||
    4 TRIM(ARBEITSZIFFER)||';'
    5 FROM av_abst_mp_ifrs
    6 WHERE stichtag='20081230'
    7 AND kontonummer='9851674900'
    8 /Not Tested.
    Other option (without concat all columns) at sqlplus you can use "COLSEP". like this...
    sql> SELECT 'DATE', SYSDATE
      2  FROM DUAL;
    'DAT SYSDATE
    DATE 29/01/09
    1 row selected.
    sql> SELECT 'DATE'||SYSDATE
      2  FROM DUAL;
    'DATE'||SYSD
    DATE29/01/09
    1 row selected.
    -- "OR"
    sql> SET COLSEP ''
    sql> SELECT 'DATE', SYSDATE
      2  FROM DUAL;
    'DATSYSDATE
    DATE29/01/09
    1 row selected.Edited by: dask99 on Jan 29, 2009 9:14 AM
    Added new option.

  • Sqlplus doesn't work using /nolog

    I need startup oracle but when I write sqlplus /nolog in the command line instead of have a message telling that I'm connect to an instance idle I just got a help message telling me how to use the sqlplus command. This is pretty wierd,
    I get the same message even if I try using a command like 'sqlplus /as sysdba'. What's wrong with sqlplus ?. thanks in advance.
    Edited by: Guido-Granobles on 02-jul-2010 15:29

    I write:
    csi2.com:oracle:/home/oracle $ sqlplus /nolog
    and I get:
    SQL*Plus: Release 10.2.0.1.0 - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Usage 1: sqlplus -H | -V
    -H Displays the SQL*Plus version and the
    usage help.
    -V Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
    <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
    -C <version> Sets the compatibility of affected commands to the
    version specified by <version>. The version has
    the form "x.y[.z]". For example, -C 10.2.0
    -L Attempts to log on just once, instead of
    reprompting on error.
    -M "<options>" Sets automatic HTML markup of output. The options
    have the form:
    HTML ON [HEAD text] [BODY text] [TABLE text]
    [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] ON]
    -R <level> Sets restricted mode to disable SQL*Plus commands
    that interact with the file system. The level can
    be 1, 2 or 3. The most restrictive is -R 3 which
    disables all user commands interacting with the
    file system.
    -S Sets silent mode which suppresses the display of
    the SQL*Plus banner, prompts, and echoing of
    commands.
    <logon> is: (<username>[<password>][@<connect_identifier>] | /)
    [AS SYSDBA | AS SYSOPER] | /NOLOG
    Specifies the database account username, password and connect
    identifier for the database connection. Without a connect
    identifier, SQL*Plus connects to the default database.
    The AS SYSDBA and AS SYSOPER options are database administration
    privileges.
    The /NOLOG option starts SQL*Plus without connecting to a
    database.
    <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
    Runs the specified SQL*Plus script from a web server (URL) or the
    local file system (filename.ext) with specified parameters that
    will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run. The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.
    csi2.com:oracle:/home/oracle $

  • Calling sqlplus in shell script

    hi all,
    Can any one explain me why we use
    sqlplus -s
    command along with -s option in shell scripts only.

    sqlplus -sThat's the SILENT option. Oracle documentation :
    SILENT Option
    -S[ILENT]
    Suppresses all SQL*Plus information and prompt messages, including the command prompt, the echoing of commands, and the banner normally displayed when you start SQL*Plus.
    Did you try using that option in interactive mode ?

  • SqlPlus, output to file ONLY?

    Hey,
    I use SPOOl to write my output to a file but i dont want the result to be printet in the terminal.
    Is there a way to do this?
    Thanks
    //Kenny

    Hi,
    782069 wrote:
    Hello and sorry for my late response,
    I call the script with the following command:
    sqlplus user/pass@database @/path/to/script
    Let's say in the script.sql there's a sql query like this:
    select * from table;
    exit;
    Then the out put would be:
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jul 21 09:06:13 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Ansluten till: <---- Swedish for "Connected to" :)Men svenska är ett vackert språk! Varför vill du inte se så mycket som möjligt?
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    Column_name1
    Column_name2
    Data1
    Data2
    Swedish for "Disconnected from" Frånkopplad från Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    I can remove the query output with:
    set termout off
    But i want to remove the stuf like:
    Swedish for "Disconnected from" Frånkopplad från Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    Is there a way to remove this? Sorry, not that I know of. I believe Oracle produces that stuff before it even starts to execute your script, so nothing in the script can change it. If there's a way to suppress that output, it's probably some Operating System command.
    Sorry for the messy text but i dont know how i create code boxes :)Type these 6 characters:
    \(all small letters, inside curly brackets) before and after each section of formatted text.  Otherwise, this site compresses whitespace.
    Thanks in advance :DVarsågod!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Why I have to use -s after sqlplus in a shell script?

    Hi,
    sqlplus -s "/as sysdba" is in my script. But why I have to use -s?

    Hi
    Run sqlplus /? from your command line and you see that option means silent mode, i.e. suppression of SQL*Plus banner, echo's and prompts.
    Bye Auke
    Message was edited by:
    aukequist

  • Suppress tab space

    Hi All,
    I'm writing following code and Im getting out as below.
    I'm capturing this output log in unix. The issue is Im getting tab spaces in the output
    declare
        lv_SQL        VARCHAR2(32000);
        lv_Col        VARCHAR2(256);
    begin
    lv_Sql := 'SELECT ''PL_CUS_DETAILS             :'' || COUNT(1) CNT FROM PL_CUS_DETAILS';
    EXECUTE IMMEDIATE lv_Sql into lv_Col;
    DBMS_OUTPUT.PUT_LINE(lv_Col);
    end
    [CODE]
    declare
        lv_SQL        VARCHAR2(32000);
        lv_Col        VARCHAR2(256);
    begin
    lv_Sql := 'SELECT ''PL_CUS_DETAILS             :'' || COUNT(1) CNT FROM PL_CUS_DETAILS';
    EXECUTE IMMEDIATE lv_Sql into lv_Col;
    DBMS_OUTPUT.PUT_LINE(lv_Col);
    end
    ====OUTPUT=========
    cat -vt output.out
    PL_CUS_DETAILS^I^I   :2note: ^I is the tab space character(unix).
    I have tried different options to suppress this tab space but of no use.
    Plz help in suppressing these tab spaces.
    Thanks & Regards,
    CDPrasad
    Edited by: cdprasad on Aug 16, 2010 8:18 AM
    Edited by: cdprasad on Aug 16, 2010 8:18 AM

    Hi Amit/David,
    Executed the same in different ways.
    ==>  MY_OUTPUT=`sqlplus -s username/password@server<< SQL_EOF
    WHENEVER SQLERROR EXIT 1;
    WHENEVER OSERROR EXIT 1;
    SET FEED OFF
    SET VERIFY OFF
    SET SERVEROUTPUT ON
    declare
    lv_SQL        VARCHAR2(32000);
    lv_Col         VARCHAR2(256);
    BEGIN
    lv_Sql := 'SELECT ''PL_CUS_DETAILS             :'' || COUNT(*) FROM DUAL';
    EXECUTE IMMEDIATE lv_sql into lv_col;
    dbms_output.put_line(lv_col);
    end;
    EXIT
    SQL_EOF`
    ==> echo $MY_OUTPUT | cat -vt
    PL_CUS_DETAILS :1
    ==> cat test.sql
    WHENEVER SQLERROR EXIT 1;
    WHENEVER OSERROR EXIT 1;
    SET FEED OFF
    SET VERIFY OFF
    SET SERVEROUTPUT ON
    SPOOL ABC.TXT
    declare
    lv_SQL        VARCHAR2(32000);
    lv_Col        VARCHAR2(256);
    BEGIN
    lv_Sql := 'SELECT ''PL_CUS_DETAILS             :'' || COUNT(*) FROM DUAL';
    EXECUTE IMMEDIATE lv_sql into lv_col;
    dbms_output.put_line(lv_col);
    end;
    SPOOL OFF
    ==> cat call_sql.sh
    sqlplus -s <<EOF
    @password.sql
    @test.sql
    EOF
    ==> call_sql.sh | cat -vt
    PL_CUS_DETAILS^I^I   :1
    ==> cat -vt ABC.TXT
    PL_CUS_DETAILS             :1 
    ==> nohup call_sql.sh &
    ==> Sending output to nohup.out
    ==> cat -vt nohup.out
    PL_CUS_DETAILS^I^I   :1The first gives output as
    PL_CUS_DETAILS :1 instead of PL_CUS_DETAILS :1
    The second gives output as
    PL_CUS_DETAILS^I^I :1 instead of PL_CUS_DETAILS :1
    but in the spool file it is same as PL_CUS_DETAILS :1
    but the same thing when executed using nohup it looks like below
    PL_CUS_DETAILS^I^I :1 instead of PL_CUS_DETAILS :1
    Note: cat -vt is used to display nonprinted characters(tab is ^I)
    There is something wrong in the way the unix stores the output.
    Thanks & Regards,
    CDPrasad
    Edited by: cdprasad on Aug 18, 2010 9:40 AM

  • Output Suppression With COMPUTE/BREAK used

    I'm having trouble getting a SQL script to suppress ALL output if there are no rows returned. I am using COMPUTE/BREAK to compute and display some counts and sums and I need them to appear when rows are returned.
    I am using a UNIX shell script to monitor the creation of an output file from the SQL script (I use the SPOOL command in the SQL script). If output (report) is produced, I send and e-mail to the user and if there is no output I would like to NOT send the e-mail.
    I use this method successfully with other SQL scripts that do not use the COMPUTE/BREAK functionality.
    When I use the COMPUTE/BREAK commands and there are no rows returned, I still get the row headings, title and the 'sum' and 'count' labels but obviously no data.
    Any help is greatly appreciated.
    /gary

    Just like "count(*) from ..." always returns a row, so does compute.
    You may run your query first to see if it is going to return any rows. If so, you turn on spooling and run the query again. If not, you exit sqlplus.
    For a similar problem, see how to stop the execution of a sql script ?

  • Sqlplus error

    Hi Gurus,
    i have installed IDES 5.0 and solution manager on the same system.
    But ides 5 have oracle 9i and for solution manager i have installed 10G
    When i try to connect oracle from sqlplus /nolog; its given an following error
    C:\Documents and Settings\Administrator>sqlplus /nolog;
    SQL*Plus: Release 10.2.0.2.0 - Production on Sun Dec 19 10:38:23 2010
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL*Plus: Release 10.2.0.2.0 - Production
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Usage 1: sqlplus -H | -V
        -H             Displays the SQL*Plus version and the
                       usage help.
        -V             Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
      <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
        -C <version>   Sets the compatibility of affected commands to the
                       version specified by <version>.  The version has
                       the form "x.y[.z]".  For example, -C 10.2.0
        -L             Attempts to log on just once, instead of
                       reprompting on error.
        -M "<options>" Sets automatic HTML markup of output.  The options
                       have the form:
                       HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
                       [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
        -R <level>     Sets restricted mode to disable SQL*Plus commands
                       that interact with the file system.  The level can
                       be 1, 2 or 3.  The most restrictive is -R 3 which
                       disables all user commands interacting with the
                       file system.
        -S             Sets silent mode which suppresses the display of
                       the SQL*Plus banner, prompts, and echoing of
                       commands.
      <logon> is: (<username>[/<password>][@<connect_identifier>] | /)
                  [AS SYSDBA | AS SYSOPER] | /NOLOG
        Specifies the database account username, password and connect
        identifier for the database connection.  Without a connect
        identifier, SQL*Plus connects to the default database.
        The AS SYSDBA and AS SYSOPER options are database administration
        privileges.
        The /NOLOG option starts SQL*Plus without connecting to a
        database.
      <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
        Runs the specified SQL*Plus script from a web server (URL) or the
        local file system (filename.ext) with specified parameters that
        will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run.  The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.
    Regards
    Hemant Gade
    Basis Consultant

    hemantg wrote:
    > I have different oracle for IDES 5.0 and solution manager.
    > I have also tried from <SID>adm.
    > but its didn't work.
    Well,
    your "Administrator" can call SQLPLUS without a full qualified path.
    With two Oracle Homes, this clearly indicates a faulty setup, because no part of any ORACLE_HOME
    should be part of the system PATH environment in this case.
    Again: Check the installation guide for the section to install multiple ORACLE_HOMEs.
    Open a CMD.exe for BOTH sidadm-users and post output of the following commands:
    PATH
    set ORA
    (which should deliver at least ORACLE_HOME / ORACLE_SID / ORA_NLS33)
    set TNS
    Best regards
    Volker

  • Required help in setting sqlplus environment

    Hi,
    I want some hint regarding settigns of sqlplus environment.
    Following is script i run using unix .
    --------------------------------------------------test.sql-----------------
    set serveroutput on
    set feedback off
    DECLARE
    min_id NUMBER:=&1;
    max_id NUMBER :=&2;
    student_id NUMBER := &3;
    BEGIN
    DBMS_OUTPUT.PUT_LINE('some usefull command');
    END;
    EXIT;
    -------------------------------------End test.sql-------------------------------
    I use following command to run this script.
    sqlplus -s user/password@database @test.sql 10001 20000 5 > out.log
    After running this command i get following output in out.log
    old 3: min_id NUMBER:=&1;
    new 3: min_id NUMBER:=10001;
    old 4: max_id NUMBER :=&2;
    new 4: max_id NUMBER :=20000;
    old 5: student_id NUMBER := &3;
    new 5: student_id NUMBER :=5;
    'some usefull command'
    My doubt is is there any way to suppress the junk created by sqlplus.
    How to avoid following statement to be written in output.
    old 3: min_id NUMBER:=&1;
    new 3: min_id NUMBER:=10001;
    old 4: max_id NUMBER :=&2;
    new 4: max_id NUMBER :=20000;
    old 5: student_id NUMBER := &3;
    new 5: student_id NUMBER :=5;
    Thanks
    Rajiv

    I am not sure what the intent of this is, or in what version you intend to utilize it, but this doesn't make any sense: At least as it is written.
    The SQL*Plus environment should be set in glogin.sql and login.sql.
    What you've posted, by way of examples, looks like schoolwork. Perhaps you can clarify if using the proper configuration files does not do what you want.

  • Sqlplus -prelim command is not working.

    Hi ,
    sqlplus -prelim command is not working for me. It is giving me the below error.
    oracle@xyz: /app/oracle/product/10.2.0/bin $*sqlplus -prelim*
    SQL*Plus: Release 10.2.0.3.0 - Production on Fri Aug 7 10:31:54 2009
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Enter user-name: oracle
    Enter password:
    ERROR:
    ORA-24300: bad value for mode.
    I am solaris 5.10 and database is 10g.
    Thanks
    Naveen.

    what -prelim command?
    sqlplus -help
    SQL*Plus: Release 10.2.0.4.0 - Production
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Usage 1: sqlplus -H | -V
        -H             Displays the SQL*Plus version and the
                 usage help.
        -V             Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
      <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
        -C <version>   Sets the compatibility of affected commands to the
                 version specified by <version>.  The version has
                 the form "x.y[.z]".     For example, -C 10.2.0
        -L             Attempts to log on just once, instead of
                 reprompting on error.
        -M "<options>" Sets automatic HTML markup of output.  The options
                 have the form:
                 HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
                 [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
        -R <level>        Sets restricted mode to disable SQL*Plus commands
                 that interact with the file system.     The level can
                 be 1, 2 or 3.  The most restrictive is -R 3 which
                 disables all user commands interacting with the
                 file system.
        -S             Sets silent mode which suppresses the display of
                 the SQL*Plus banner, prompts, and echoing of
                 commands.
      <logon> is: (<username>[/<password>][@<connect_identifier>] | /)
               [AS SYSDBA | AS SYSOPER] | /NOLOG
        Specifies the database account username, password and connect
        identifier for the database connection.  Without a connect
        identifier, SQL*Plus connects to the default database.
        The AS SYSDBA and AS SYSOPER options are database administration
        privileges.
        The /NOLOG option starts SQL*Plus without connecting to a
        database.
      <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
        Runs the specified SQL*Plus script from a web server (URL) or the
        local file system (filename.ext) with specified parameters that
        will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run.  The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.

  • Supress errors in SQLPlus

    Hi,
    Does anyone know of a way to suppress a specific ORA error in SQLPlus?
    What I want to do is to Create a View with Force option and supress the informational error:
    ORA-24344: success with compilation error.
    Regards
    HÃ¥kan

    SYS cannot connect by itself, it can connect only with the SYSDBA or SYSOPER roles. Those roles are roles enabled by Oracle even before creation time, and those are used to perform specific adminstrative tasks such as install, recover, startup and shutdown, among others.
    If you want to perform other administrative tasks when the database instance is already open you may use any other user with DBA privileges, such as SYSTEM.
    In order to enable access as SYSDBA/SYSOPER your os user must be authenticated, either from the os (privilged dba group) or by means of the sysdba password , stored at the database password file.
    ~ Madrid.

  • Automate object compilation using Sqlplus

    Hi,
    Why is that when you try to compile an object in sqlplus it prompts for you to hit the '/' key and then enter key. Is there a way to not wait for those key entries and compile automatically.
    For eg. when I issue a command like
    c:\Sqlplus> @c:\proca.pkg
    it get the following
    c:\sqlplus> @c:proca.pkg
    436
    It basically waits at the line number 436 and then I have to hit "/" and enter key to get the message Package Created.
    I would like to suppress that and want the package compiled without user inputs.
    Any help would be appreciated.
    Thanks
    Ash

    Put the '/' inside in your package it won't prompt that again.
    Regards.
    Satyaki De.

  • SHOW commands in SQLPlus

    Where can I find a list / explanation of the SHOW commands in SQLPlus?
    Thanks,

    Hi,
    Also, try this cool glogin script from Chris Foot to show the instance name in your SQL*Plus promt:
    COLUMN file_name FORMAT a44
    COLUMN tablespace_name FORMAT a20
    COLUMN owner FORMAT a15
    COLUMN segment_name FORMAT a20
    set lines 132
    set pages 100
    set termout off
    col dbname new_value prompt_dbname
    select instance_name dbname from v$instance;
    set sqlprompt "&&prompt_dbname> "
    set termout on
    set time on
    Here are the set options:
    APPI[NFO]ON
    Application info for performance monitor (see DBMS_APPLICATION_INFO)
    ARRAY[SIZE] {15|n}
    Fetch size (1 to 5000) the number of rows that will be retrieved in one go.
    AUTO[COMMIT] OFF|n}
    Autocommit commits after each SQL command or PL/SQL block
    AUTOP[RINT] OFF
    Automatic PRINTing of bind variables.(see PRINT)
    AUTORECOVERY ON
    Configure the RECOVER command to automatically apply
    archived redo log files during recovery - without any user confirmation.
    AUTOT[RACE] OFF} [EXP[LAIN]] [STAT[ISTICS]]
    Display a trace report for SELECT, INSERT, UPDATE or DELETE statements
    EXPLAIN shows the query execution path by performing an EXPLAIN PLAN.
    STATISTICS displays SQL statement statistics.
    Using ON or TRACEONLY with no explicit options defaults to EXPLAIN STATISTICS
    BLO[CKTERMINATOR] {.|c|OFF|ON}
    Set the non-alphanumeric character used to end PL/SQL blocks to c
    CMDS[EP] {;|c|OFF|ON}
    Change or enable command separator - default is a semicolon (;)
    COLSEP { |text}
    The text to be printed between SELECTed columns normally a space.
    COM[PATIBILITY] {V5|V6|V7|V8|NATIVE}
    Version of oracle - see also init.ora COMPATIBILITY=
    You can set this back by up to 2 major versions e.g. Ora 9 supports 8 and 7
    CON[CAT] {.|c|OFF|ON}
    termination character for substitution variable reference
    default is a period.
    COPYC[OMMIT] {0|n}
    The COPY command will fetch n batches of data between commits.
    (n= 0 to 5000) the size of each fetch=ARRAYSIZE.
    If COPYCOMMIT = 0, COPY will commit just once - at the end.
    COPYTYPECHECK OFF
    Suppres the comparison of datatypes while inserting or appending to DB2
    DEF[INE] {&|c|OFF|ON}
    c = the char used to prefix substitution variables.
    ON or OFF controls whether to replace substitution variables with their values.
    (this overrides SET SCAN)
    DESCRIBE [DEPTH {1|n|ALL}][LINENUM {ON|OFF}][INDENT {ON|OFF}]
    Sets the depth of the level to which you can recursively describe an object
    (1 to 50) see the DESCRIBE command
    ECHO OFF
    Display commands as they are executed
    EMB[EDDED] OFF
    OFF = report printing will start at the top of a new page.
    ON = report printing may begin anywhere on a page.
    ESC[APE] {\|c|OFF|ON}
    Defines the escape character. OFF undefines. ON enables.
    FEED[BACK] {6|n|OFF|ON}
    Display the number of records returned (when rows > n )
    OFF (or n=0) turns the display off
    ON sets n=1
    FLAGGER OFF|FULL}
    Checks to make sure that SQL statements conform to the ANSI/ISO SQL92 standard.
    non-standard constructs are flagged as errors and displayed
    See also ALTER SESSION SET FLAGGER.
    FLU[SH] OFF
    Buffer display output (OS)
    (no longer used in Oracle 9)
    HEA[DING] OFF
    print column headings
    HEADS[EP] {||c|OFF|ON}
    Define the heading separator character (used to divide a column heading onto > one line.)
    OFF will actually print the heading separator char
    see also: COLUMN command
    INSTANCE [instance_path|LOCAL]
    Change the default instance for your session, this command may only be issued when
    not already connected and requires Net8
    LIN[ESIZE] {150|n}
    Width of a line (before wrapping to the next line)
    Earlier versions default to 80, Oracle 9 is 150
    LOBOF[FSET] n
    Starting position from which CLOB and NCLOB data is retrieved and displayed
    LOGSOURCE [pathname]
    Change the location from which archive logs are retrieved during recovery
    normally taken from LOG_ARCHIVE_DEST
    LONG {80|n}
    Set the maximum width (in chars) for displaying and copying LONG values.
    LONGC[HUNKSIZE] {80|n}
    Set the fetch size (in chars) for retrieving LONG values.
    MARK[UP] HTML ON
    [HEAD text] [BODY text] [TABLE text]
    [ENTMAP {ON|OFF}][SPOOL {ON|OFF}]
    [PRE[FORMAT] ON]
    Output HTML text, which is the output used by iSQL*Plus.
    NEWP[AGE] {1|n} NULL text
    The number of blank lines between the top of each page and the top title.
    0 = a formfeed between pages.
    NULL text
    Replace a null value with 'text'
    The NULL clause of the COLUMN command will override this for a given column.
    NUMF[ORMAT] format
    The default number format.
    see COLUMN FORMAT.
    NUM[WIDTH] {10|n}
    The default width for displaying numbers.
    PAGES[IZE] {14|n}
    The height of the page - number of lines.
    0 will suppress all headings, page breaks, titles
    PAU[SE] OFF
    press [Return] after each page
    enclose text in single quotes
    RECSEP {WR[APPED]|EA[CH]|OFF}
    Print a single line of the RECSEPCHAR between each record.
    WRAPPED = print only for wrapped lines
    EACH=print for every row
    RECSEPCHAR {_|c}
    Define the RECSEPCHAR character, default= ' '
    SCAN OFF
    OFF = disable substitution variables and parameters
    SERVEROUT[PUT] OFF [SIZE n] [FOR[MAT] {WRA[PPED]|WOR[D_WRAPPED]|TRU[NCATED]}]
    whether to display the output of stored procedures (or PL/SQL blocks)
    i.e., DBMS_OUTPUT.PUT_LINE
    SIZE = buffer size (2000-1,000,000) bytes
    SHOW[MODE] OFF
    Display old and new settings of a system variable
    SPA[CE] {1|n}
    The number of spaces between columns in output (1-10)
    SQLBL[ANKLINES] ON
    Allow blank lines within an SQL command. reverts to OFF after the curent command/block.
    SQLC[ASE] {MIX[ED]|LO[WER]|UP[PER]}
    Convert the case of SQL commands and PL/SQL blocks
    (but not the SQL buffer itself)
    SQLPLUSCOMPAT[IBILITY] {x.y[.z]}
    Set the behavior or output format of VARIABLE to that of the
    release or version specified by x.y[.z].
    SQLCO[NTINUE] {> |text}
    Continuation prompt (used when a command is continued on an additional line using a hyphen -)
    SQLN[UMBER] OFF
    Set the prompt for the second and subsequent lines of a command or PL/SQL block.
    ON = set the SQL prompt = the line number.
    OFF = set the SQL prompt = SQLPROMPT.
    SQLPRE[FIX] {#|c}
    set a non-alphanumeric prefix char for immediately executing one line of SQL (#)
    SQLP[ROMPT] {SQL>|text}
    Set the command prompt.
    SQLT[ERMINATOR] {;|c|OFF|ON}|
    Set the char used to end and execute SQL commands to c.
    OFF disables the command terminator - use an empty line instead.
    ON resets the terminator to the default semicolon (;).
    SUF[FIX] SQL
    Default file extension for SQL scripts
    TAB OFF
    Format white space in terminal output.
    OFF = use spaces to format white space.
    ON = use the TAB char.
    Note this does not apply to spooled output files.
    The default is system-dependent. Enter SHOW TAB to see the default value.
    TERM[OUT] OFF
    OFF suppresses the display of output from a command file
    ON displays the output.
    TERMOUT OFF does not affect the output from commands entered interactively.
    TI[ME] OFF
    Display the time at the command prompt.
    TIMI[NG] OFF
    ON = display timing statistics for each SQL command or PL/SQL block run.
    OFF = suppress timing statistics
    TRIM[OUT] OFF
    Display trailing blanks at the end of each line.
    ON = remove blanks, improving performance
    OFF = display blanks.
    This does not affect spooled output.
    SQL*Plus ignores TRIMOUT ON unless you set TAB ON.
    TRIMS[POOL] ON
    Allows trailing blanks at the end of each spooled line.
    This does not affect terminal output.
    UND[ERLINE] {-|c|ON|OFF}
    Set the char used to underline column headings to c.
    VER[IFY] OFF
    ON = list the text of a command before and after replacing substitution variables with values.
    OFF = dont display the command.
    WRA[P] OFF
    Controls whether to truncate or wrap the display of long lines.
    OFF = truncate
    ON = wrap to the next line
    The COLUMN command (WRAPPED and TRUNCATED clause) can override this for specific columns.

Maybe you are looking for