SQL*Plus Quick Reference
Release 8.1.6

A75665-01

Library

Product

Prev Up Next

SQL*Plus Quick Reference, 9 of 10


Miscellaneous

ARCHIVE LOG {LIST|STOP}|{START|NEXT|ALL|integer} [TO destination]

      Starts or stops automatic archiving on online redo log files, manually (explicitly) archives specified redo log files, or displays information about redo log files.

DESC[RIBE] [schema.]object[@net_service_name]

      Lists the column definitions for the specified table, view or synonym or the specifications for the specified function or procedure.

RECOVER {general | managed} [parallel]

      where the general clause has the following syntax:

        [AUTOMATIC][FROM location]
        {[STANDBY] DATABASE [ [UNTIL {CANCEL | CHANGE integer | TIME date}
                              | USING BACKUP CONTROLFILE]...] 
         | STANDBY {DATAFILE datafilename [, DATAFILE datafilename...]
                    | TABLESPACE tablespace [, TABLESPACE tablespace ...]}
             UNTIL [CONSISTENT] [WITH] CONTROLFILE
         | TABLESPACE tablespace [, tablespace ...]
         | DATAFILE datafilename [, datafilename ...]
         | LOGFILE filename
         | CONTINUE [DEFAULT]
         | CANCEL}
      
      

      and where the managed clause has the following syntax:

        MANAGED STANDBY DATABASE {TIMEOUT integer | CANCEL [IMMEDIATE]}
      
      
      

      and where the parallel clause has the following syntax:

        PARALLEL [integer] | NOPARALLEL
      
      

      Performs media recovery on one or more tablespaces, one or more datafiles, or the entire database.

SET system_variable value

      Sets a system variable to alter the SQL*Plus environment for your current session, such as setting the display width for NUMBER data or the number of lines per page. Enter a system variable followed by a value as shown below:

      APPI[NFO]{ON|OFF|text}
      ARRAY[SIZE] {15|n}
      AUTO[COMMIT] {ON|OFF|IMM[EDIATE]|n}
      AUTOP[RINT] {ON|OFF}
      AUTORECOVERY {ON|OFF]
      AUTOT[RACE] {ON|OFF|TRACE[ONLY]} [EXP[LAIN]] [STAT[ISTICS]]
      BLO[CKTERMINATOR] {.|c}
      CMDS[EP] {;|c|ON|OFF}
      COLSEP {_|text}
      COM[PATIBILITY] {V7|V8|NATIVE}
      CON[CAT] {.|c|ON|OFF}
      COPYC[OMMIT] {0|n}
      COPYTYPECHECK {ON|OFF}
      DEF[INE] {'&'|c|ON|OFF}
      DESCRIBE [DEPTH {1|n|ALL}][LINENUM {ON|OFF}][INDENT {ON|OFF}]
      ECHO {ON|OFF}
      EDITF[ILE] file_name[.ext]
      EMB[EDDED] {ON|OFF}
      ESC[APE] {\|c|ON|OFF}
      FEED[BACK] {6|n|ON|OFF}
      FLAGGER {OFF|ENTRY|INTERMED[IATE]|FULL}
      FLU[SH] {ON|OFF}
      HEA[DING] {ON|OFF}
      HEADS[EP] {||c|ON|OFF}
      INSTANCE [instance_path|LOCAL]
      LIN[ESIZE] {80|n}
      LOBOF[FSET] {n|1}
      LOGSOURCE [pathname]
      LONG {80|n}
      LONGC[HUNKSIZE] {80|n}
      MARK[UP] HTML [ON|OFF] [HEAD text] [BODY text] [ENTMAP {ON|OFF}]
      [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}] NEWP[AGE] {1|n|NONE} NULL text NUMF[ORMAT] format NUM[WIDTH] {10|n} PAGES[IZE] {24|n} PAU[SE] {ON|OFF|text} RECSEP {WR[APPED]|EA[CH]|OFF} RECSEPCHAR {_|c} SERVEROUT[PUT] {ON|OFF} [SIZE n] [FOR[MAT] {WRA[PPED]| WOR[D_WRAPPED]|TRU[NCATED]}] SHIFT[INOUT] {VIS[IBLE]|INV[ISIBLE]} SHOW[MODE] {ON|OFF} SQLBL[ANKLINES] {ON|OFF} SQLC[ASE] {MIX[ED]|LO[WER]|UP[PER]} SQLCO[NTINUE] {> |text} SQLN[UMBER] {ON|OFF} SQLPRE[FIX] {#|c} SQLP[ROMPT] {SQL>|text} SQLT[ERMINATOR] {;|c|ON|OFF} SUF[FIX] {SQL|text} TAB {ON|OFF} TERM[OUT] {ON|OFF} TI[ME] {ON|OFF} TIMI[NG] {ON|OFF} TRIM[OUT] {ON|OFF} TRIMS[POOL] {ON|OFF} UND[ERLINE] {-|c|ON|OFF} VER[IFY] {ON|OFF} WRA[P] {ON|OFF}
SHO[W] [option]

      Lists the value of a SQL*Plus system variable. Enter any system variable set by the SET command in place of system_variable. Use one of the following terms or clauses in place of option:

      system_variable
      ALL
      BTI[TLE]
      ERR[ORS] [{FUNCTION|PROCEDURE|PACKAGE|PACKAGE BODY|
        TRIGGER|VIEW|TYPE|TYPE BODY} [schema.]name]
      LNO
      PARAMETERS [parameter_name]
      PNO
      REL[EASE]
      REPF[OOTER]
      REPH[EADER]
      SGA
      SPOO[L]
      SQLCODE
      TTI[TLE]
      USER
      

Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product