Index. Oracle SQL*Plus
Below you will find brief information for database software SQLPlus. The SQLPlus command-line interface helps you access and manage Oracle databases. You can use it to run SQL statements, create reports, debug code, and perform other administrative tasks. It's a versatile tool for database developers and administrators. It offers a variety of features and options that can be customized to meet your specific needs. You can use it to connect to different databases, run scripts and queries, and view results in various formats. You can also use it for managing database objects like tables, views, and stored procedures among other tasks.
Advertisement
Advertisement
Symbols
_CONNECT_IDENTIFIER predefined variable,
,
_DATE predefined variable,
,
_EDITOR substitution variable,
_EDITOR, in EDIT command,
_O_RELEASE predefined variable,
_O_VERSION predefined variable,
_PRIVILEGE predefined variable,
_RC predefined variable,
_SQLPLUS_RELEASE predefined variable,
,
_USER predefined variable,
-AC option,
-MARKUP
SQLPLUS command clause,
,
((amp)) (ampersand)
disabling substitution variables,
substitution variables,
((colon)) (colon)
bind variables,
((colon))BindVariable clause
((nbsp))- (hyphen) clause,
continuing a long SQL*Plus command,
((nbsp))-- (comment delimiter),
((nbsp))/ (slash) command default logon,
,
entered at buffer line-number prompt,
,
entered at command prompt,
executing current PL/SQL block,
similar to RUN,
,
@ (at sign)
Index
@ (at sign) (continued)
,
command arguments,
,
in SQLPLUS command,
passing parameters to a script, script,
,
@ at sign)
,
@@ (double at sign) command script,
* (asterisk) in DEL command, in LIST command,
# pound sign overflow indication,
SET SQLPREFIX character,
~ infinity sign,
Symbols
A
abort query,
ACCEPT command
BINARY_FLOAT clause,
customizing prompts for value,
Index-1
ACCEPT command (continued)
alias,
ALIAS clause
ampersands (((amp)))
,
substitution variables,
APPEND clause in COPY command,
in SAVE command,
APPEND command,
APPINFO clause,
ARCHIVE LOG
command,
mode, argument
in START command,
ARRAYSIZE variable
relationship to COPY command,
ATTRIBUTE command
CLEAR clause,
clearing columns,
controlling display characteristics,
display characteristics,
entering multiple,
FORMAT clause,
LIKE clause,
listing attribute display characteristics,
OFF clause,
ON clause,
restoring column display attributes,
suppressing column display attributes,
AUTOCOMMIT variable,
AUTOMATIC clause,
AUTORECOVERY variable,
autotrace report,
AUTOTRACE variable,
B
background process startup after abnormal termination,
BASEURI variable,
batch jobs, authenticating users in,
batch mode,
BEGIN command,
BINARY_DOUBLE clause
Index-2
BINARY_DOUBLE clause (continued)
ACCEPT command,
VARIABLE command,
BINARY_FLOAT clause
ACCEPT command,
VARIABLE command,
bind variables
displaying,
displaying automatically,
in SQL statements,
blank line
BLOB
,
formating in reports,
BLOB columns
,
,
blocks, PL/SQL continuing,
editing with system editor,
setting character used to end,
stored in SQL buffer,
within SQL commands,
,
,
BODY clause,
BODY option,
,
break columns
inserting space when value changes,
specifying multiple,
suppressing duplicate values in,
BREAK command
,
displaying column values in titles,
inserting space after every row,
inserting space when break column changes,
listing current break definition,
ON column clause,
ON expr clause,
ON ROW clause,
BREAK command (continued) printing grand and sub summaries,
printing summary lines at ends of reports,
removing definition,
SKIP clause,
,
,
specifying multiple break columns,
,
suppressing duplicate values,
used in conjunction with COMPUTE,
used in conjunction with SET COLSEP,
used to format a REFCURSOR variable,
used with COMPUTE,
break definition listing current,
removing current,
,
browser, web,
BTITLE clause,
BTITLE command
BOLD clause,
CENTER clause,
COL clause,
FORMAT clause,
OFF clause,
old form,
printing blank lines before bottom title,
referencing column value variable,
RIGHT clause,
SKIP clause,
suppressing current definition,
buffer
,
delete the last line,
deleting all lines,
executing contents,
listing a range of lines,
listing the current line,
listing the last line,
loading into system editor,
saving contents,
BUFFER clause,
BUFFER variable,
C
CANCEL clause,
Cancel key,
cancel query,
CHANGE command,
CHAR clause
VARIABLE command,
CHAR columns
definition from DESCRIBE,
charset
SQL*Plus Instant Client,
CLEAR clause in ATTRIBUTE command,
CLEAR command
BUFFER clause,
COLUMNS clause,
COMPUTES clause,
SCREEN clause,
CLOB clause
VARIABLE command,
CLOB columns
,
,
,
COL clause,
,
COLINVISIBLE variable, colons (((colon))) bind variables,
COLSEP variable,
COLUMN command
and BREAK command,
,
displaying column values in bottom titles,
,
displaying column values in top titles,
ENTMAP clause,
FOLD_AFTER clause,
FOLD_BEFORE clause,
Index-3
COLUMN command (continued)
FORMAT clause,
formatting a REFCURSOR variable,
HEADING clause,
HEADSEP character,
JUSTIFY clause,
LIKE clause,
listing column display attributes,
OFF clause,
ON clause,
resetting a column to default display,
,
restoring column display attributes,
,
storing current date in variable for titles,
suppressing column display attributes,
,
,
,
column headings
,
changing character used to underline,
changing to two or more words,
displaying on more than one line,
,
suppressing printing in a report,
when truncated for CHAR and LONG columns,
when truncated for DATE columns,
when truncated for NUMBER columns,
column separator,
columns
computing summary lines,
copying display attributes,
copying values between tables,
displaying values in bottom titles,
displaying values in top titles,
formatting CHAR, VARCHAR, LONG, and
formatting in reports,
formatting MLSLABEL, RAW MLSLABEL,
,
listing display attributes for all,
listing display attributes for one,
names in destination table when copying,
Index-4
columns (continued)
printing line after values that overflow,
,
resetting a column to default display,
,
resetting all columns to default display,
,
setting printing to off or on,
storing values in variables,
suppressing display attributes,
truncating display for all when value overflows,
truncating display for one when value overflows,
wrapping display for all when value overflows,
wrapping display for one when value overflows,
COLUMNS clause,
comma, number format,
command files aborting and exiting with a return code,
,
creating with a system editor,
,
editing with system editor, in @ (at sign) command,
,
in GET command,
in SQLPLUS command, in START command,
,
including comments in,
including more than one PL/SQL block,
including more than one SQL command,
nesting,
passing parameters to, registering,
,
retrieving,
running,
,
running a series in sequence,
running as you start SQL*Plus,
uniform resource locator,
command history
command prompt
command-line configuring globalization support,
installing help,
command-line interface changing face and size,
commands collecting timing statistics on,
disabled in schema,
listing current in buffer,
re-enabling,
spaces,
SQL
continuing on additional lines,
ending,
entering and executing,
following syntax,
listing current in buffer,
setting character used to end and run,
SQL*Plus
continuing on additional lines,
ending,
entering and executing,
entering during SQL command entry,
obsolete command alternatives,
variables that affect running,
comments including in command files,
including in scripts,
using REMARK,
using REMARK to create,
COMMIT clause
COMMIT command,
COMPATIBILITY variable,
,
COMPUTE command
,
computing a summary on different columns,
LABEL clause,
,
listing all definitions,
,
maximum LABEL length,
ON,
ON column clause,
,
ON REPORT clause,
,
COMPUTE command (continued)
printing grand and sub summaries,
printing multiple summaries on same column,
printing summary lines at ends of reports, printing summary lines on a break,
referencing a SELECT expression in OF,
referencing a SELECT expression in ON,
removing definitions,
,
used to format a REFCURSOR variable,
COMPUTES clause,
CON_ID clause,
CONCAT variable,
,
configuration globalization support,
configuring
Oracle Net,
CONNECT / feature,
CONNECT command
,
SYSDBA clause,
SYSOPER clause,
SYSRAC clause,
username/password,
connect identifier
in SQLPLUS command, connection identifier easy or abbreviated,
full,
CONTEXT variable,
CONTEXT XQUERY option,
CONTINUE clause
WHENEVER OSERROR,
WHENEVER SQLERROR,
continuing a long SQL*Plus command,
COPY command
,
,
and ARRAYSIZE variable,
and COPYCOMMIT variable,
,
copying data between databases,
copying data between tables on one database,
,
creating a table,
Index-5
COPY command (continued)
determining source rows and columns,
INSERT clause,
,
inserting data in a table,
interpreting messages,
mandatory connect identifier,
naming the source table with SELECT,
query,
referring to another user’s table,
replacing data in a table,
service name,
specifying columns for destination,
,
,
,
USING clause,
COPYCOMMIT variable
relationship to COPY command,
COPYTYPECHECK variable,
CREATE clause
in COPY command,
CREATE command
creating a PLAN_TABLE,
creating flat files,
creating the PRODUCT_USER_PROFILE table,
CSV clause,
option,
cursor variables,
D
database administrator,
mounting,
opening,
database changes, saving automatically,
,
DATABASE clause,
database files recovering,
database schema
databases
Index-6
databases (continued)
connecting to remote, copying data between,
copying data between tables on a single,
disconnecting without leaving SQL*Plus,
DATAFILE clause,
DATE column definition from DESCRIBE,
DATE columns
,
date, storing current in variable for titles,
DB2,
DBA
DBMS output,
,
DBMS_APPLICATION_INFO package,
DECLARE command
PL/SQL,
DEFINE command
,
and UNDEFINE command,
substitution variables,
DEFINE variable
See
substitution variable
DEL command
DELIMITER clause,
DESCRIBE command (SQL*Plus) connect_identifier,
PL/SQL properties listed by,
DISABLED keyword, disabling commands,
disabling
PL/SQL commands,
DOCUMENT command
E
ECHO
SET command,
Ed on UNIX,
EDIT clause,
EDIT command
edition
EDITOR operating system variable,
ENTMAP,
,
environment variables
LD_LIBRARY_PATH,
LOCAL,
ORA_EDITION,
ORA_NLS10,
ORACLE_HOME,
ORACLE_PATH,
ORACLE_SID,
PATH,
SQL*Plus,
SQLPATH,
TNS_ADMIN,
error
TWO_TASK,
SQL*Plus Instant Client unsupported charset, error messages
COPY command,
sqlplus,
ERRORLOGGING variable,
errors
,
making line containing current,
escape characters, definition of,
,
ESCCHAR variable, example
CSV report,
executing
execution statistics including in report,
EXIT clause
WHENEVER OSERROR,
WHENEVER SQLERROR,
EXIT command
((colon))BindVariable clause,
in a script,
ROLLBACK clause,
WARNING clause,
,
F
file names
,
,
in @ (at sign) command,
in @@ (double at sign) command,
in GET command,
in SQLPLUS command,
files flat,
required for SQL*Plus Instant Client,
FLAGGER variable, flat file,
,
FOLD_AFTER clause,
FOLD_BEFORE clause,
font
changing face and size in command-line,
footers
displaying at bottom of page,
displaying system-maintained values,
formatting elements,
setting at the end of reports,
suppressing definition,
FORMAT clause in ATTRIBUTE command, in COLUMN command,
in REPHEADER and REPFOOTER commands,
in TTITLE and BTITLE commands,
formfeed, to begin a new page,
Index-7
,
G
GET command
globalization support
Oracle10g,
glogin
,
See also
GRANT command,
H
HEAD clause,
HEAD option, headers
aligning elements,
displaying system-maintained values,
setting at the start of reports,
HEADING clause,
HEADING variable,
headings listing current definition,
HEADSEP variable use in COLUMN command,
help aligning elements,
column headings,
indenting,
installing command-line,
,
HIDE clause,
HISTORY clause,
HISTORY command
CLEAR clause,
EDIT clause,
DEL[ETE] clause,
RUN clause,
HTML clause,
entities,
option,
spooling to file,
Index-8
HTML (continued) tag, hyphen
continuing a long SQL*Plus command,
,
I
IMMEDIATE mode, infinity sign (~),
INIT.ORA file parameter file,
initialization parameters displaying,
,
input accepting values from the user, accepting [Return],
INPUT command entering several lines,
INSERT clause,
installation
SQL*Plus Instant Client,
SQL*Plus Instant Client by copying,
SQL*Plus Instant Client by copying from 10g
SQL*Plus Instant Client by download from OTN,
SQL*Plus Instant Client on Linux,
SQL*Plus Instant Client on UNIX or Windows,
SQL*Plus Instant Client UNIX and Linux files to
SQL*Plus Instant Client Windows files to copy,
installation by copying,
installation by copying from 10g Client,
installation by download from OTN,
installation on UNIX or Windows,
installation, UNIX and Linux files to copy,
installation, Windows files to copy,
instances
Instant Client
J
Japanese,
JUSTIFY clause,
L
LABEL variable
labels
language
LD_LIBRARY_PATH
LIKE clause,
lines adding at beginning of buffer,
adding at end of buffer,
adding new after current,
,
deleting from buffer,
determining which is current,
editing current,
listing all in buffer,
removing blanks at end,
LINESIZE variable,
Linux
,
,
installing SQL*Plus Instant Client,
SQL*Plus Instant Client files to copy,
,
LIST command
,
making last line current,
,
LOB data setting prefetch size,
LOBOFFSET variable,
LOBPREFETCH variable,
LOCAL
LOGFILE clause,
logging off conditionally,
Oracle Database,
SQL*Plus,
logging on login
Oracle Database,
SQL*Plus,
login.sql,
LONG
column definition from DESCRIBE,
LONG columns changing format,
default format,
,
LONG columns (continued)
LONG variable
,
,
LONGRAW column definition from DESCRIBE,
M
MARKUP
BODY clause,
DELIMITER clause,
ENTMAP clause,
HEAD clause,
PREFORMAT clause,
QUOTE clause,
MAXDATA variable, media recovery,
MOUNT clause,
N
national language support,
NCHAR clause
VARIABLE command,
NCHAR columns
,
NCLOB clause
VARIABLE command,
NCLOB columns
,
,
negative infinity sign (-~),
NEW_VALUE clause storing current date in variable for titles,
NEWLINE clause,
NEWPAGE command,
NEWPAGE variable,
,
NLS,
NLS_LANG
charset parameter for Instant Client, environment variables,
language parameter for Instant Client,
SQL*Plus Instant Client,
territory parameter for Instant Client,
Index-9
NODE variable,
NOLOG,
nolongontime,
NONE clause
NOPROMPT clause,
NORMAL mode,
null values
setting text displayed,
NULL variable,
NUMBER
column definition from DESCRIBE,
NUMBER clause
NUMBER columns
changing format,
default format, number formats
$,
0,
9,
comma,
setting default,
,
NUMFORMAT clause
NUMFORMAT variable,
NUMWIDTH variable
effect on NUMBER column format,
NVARCHAR2 columns changing format,
default format,
O
objects, describing,
obsolete commands
BTITLE,
COLUMN command DEFAULT clause,
NEWPAGE,
SET command BUFFER variable,
SET command CLOSECURSOR variable,
SET command COMPATIBILITY variable,
SET command DOCUMENT variable,
SET command MAXDATA variable,
Index-10
obsolete commands (continued)
SET command TRUNCATE variable,
SHOW command LABEL variable,
TTITLE command old form,
OCI package
OF clause,
OFF clause
in ATTRIBUTE command, in COLUMN command,
in REPHEADER commands,
in TTITLE and BTITLE commands,
OLD_VALUE clause,
ON clause in ATTRIBUTE command, in COLUMN command,
in TTITLE and BTITLE commands,
ON column clause in BREAK command,
in COMPUTE command,
ON expr clause in BREAK command,
in COMPUTE command,
ON REPORT clause
in BREAK command,
,
in COMPUTE command,
ON ROW clause
in BREAK command,
,
in COMPUTE command,
OPEN clause,
operating system editor,
running commands from SQL*Plus,
text editor,
ORA_EDITION
environment variables,
ORA_NLS10 environment variables,
Oracle Application Editions
Oracle Database Client,
Oracle Net
connect identifier,
Oracle Session Editions
ORACLE_HOME environment variables,
ORACLE_PATH environment variables,
ORACLE_SID
Oracle10g
ORDER BY clause
displaying column values in titles,
displaying values together in output,
ORDERING variable,
OUT clause,
,
output formatting white space in,
,
pausing during display,
P
packages
SQL*Plus and OCI for Instant Client,
page number, including in titles, pages
,
,
default dimensions,
matching to screen or paper size,
PAGESIZE clause
parameter
SQLPATH,
parameter files (INIT.ORA files) specifying alternate,
PARAMETERS clause,
password
changing with the PASSWORD command,
,
in COPY command,
viewable warning,
PASSWORD command,
PATH
PAUSE command,
,
PAUSE variable,
performance
over dial-up lines,
period (.)
,
PL/SQL
formatting output in SQL*Plus,
listing definitions,
PLAN_TABLE
PLUSTRACE creating role,
PNO clause,
predefined variable
_CONNECT_IDENTIFIER,
,
_O_RELEASE,
_O_VERSION,
_PRIVILEGE,
,
_USER,
PREFORMAT clause,
PRINT clause,
PRINT command,
printing
Product User Profile table,
prompt
PROMPT clause,
,
PROMPT command customizing prompts for value, prompts for value
customizing,
through substitution variables,
Q
queries
show number of records retrieved,
, tracing,
query execution path
query results displaying on-screen, sending to a printer,
storing in a file,
QUIT command,
,
See also
EXIT
QUOTE clause,
Index-11
R
RAW
column definition from DESCRIBE,
record separators, printing,
,
RECOVER clause,
RECOVER command
AUTOMATIC clause,
DATABASE clause,
LOGFILE clause,
SNAPSHOT TIME date clause,
STANDBY DATAFILE clause,
UNTIL CANCEL clause,
USING BACKUP CONTROL FILE clause, recovery
RECOVER command,
RECSEP variable,
,
REFCURSOR bind variables in a stored function,
REFCURSOR clause
registry
registry entry
SQLPATH,
RELEASE clause,
REMARK command,
REPFOOTER clause,
REPFOOTER command
BOLD clause,
CENTER clause,
COL clause,
FORMAT clause,
indenting report footers,
OFF clause,
RIGHT clause,
SKIP clause,
suppressing current definition,
REPHEADER command
aligning heading elements,
BOLD clause,
Index-12
REPHEADER command (continued)
COL clause,
indenting headings,
LEFT clause,
PAGE clause,
RIGHT clause,
suppressing current definition,
TAB clause,
REPLACE clause
reports autotrace,
clarifying with spacing and summary lines,
creating bottom titles,
,
creating footers,
creating headers,
creating top titles,
CSV example, displaying,
,
starting on a new page,
RIGHT clause,
,
roles
ROLLBACK clause
WHENEVER OSERROR,
WHENEVER SQLERROR, row data
ROWID
column definition from DESCRIBE,
ROWPREFETCH clause,
rows
setting number retrieved at one time,
,
rows (continued) setting the number after which COPY commits,
RUN clause,
RUN command executing current PL/SQL block,
making last line current,
similar to / (slash) command,
S
sample schemas
see Oracle Database Sample Schemas guide,
using HR in COLUMN example,
sample tables access to,
creating,
removing,
unlocking,
SAVE command
APPEND clause,
CREATE clause,
storing commands in scripts,
using with INPUT to create scripts,
saving environment attributes,
SCAN variable,
schemas command,
disabled commands,
installing own copy of HR,
sample,
using HR in COLUMN example,
SCREEN clause, screens
,
,
clearing, scripts extension,
,
scripts, authenticating users in,
SECUREDCOL variable,
security changing password,
nolongontime,
password viewable,
RESTRICT,
SELECT command
,
SELECT command (continued) and COLUMN command, and COMPUTE command,
and ORDER BY clause,
semicolon (;)
in SQL*Plus commands, not stored in buffer,
service name
,
SET AUTOTRACE,
SET command
ARRAYSIZE variable,
,
,
AUTOPRINT variable,
,
BLOCKTERMINATOR variable,
BUFFER variable,
,
COLINVISIBLE variable,
COLSEP variable,
,
CONCAT variable,
,
COPYCOMMIT variable,
,
DEFINE clause,
DEFINE variable,
,
EDITFILE variable,
EMBEDDED variable,
ESCAPE variable,
,
FLAGGER variable,
,
HEADSEP variable,
HISTORY variable,
LINESIZE variable,
,
Index-13
SET command (continued)
LOGSOURCE variable,
LONG variable,
LONGCHUNKSIZE variable,
MARKUP clause,
NEWPAGE variable,
,
NULL variable,
NUMFORMAT variable,
NUMWIDTH variable,
PAUSE variable,
RECSEP variable,
,
ROWPREFETCH variable,
SCAN variable,
SECUREDCOL variable,
,
SPACE variable,
SQLBLANKLINES variable,
SQLCASE variable,
SQLCONTINUE variable,
SQLPLUSCOMPATIBILITY variable,
SQLPREFIX variable,
SQLTERMINATOR variable,
substitution variable,
SUFFIX variable,
,
,
TRIMSPOOL variable,
TRUNCATE variable,
,
used to format a REFCURSOR variable,
WRAP variable,
XMLOPTIMIZATIONCHECK variable,
XQUERY NODE variable,
XQUERY ORDERING variable,
SET HISTORY command,
SET LOBPREFETCH command,
SET MARKUP
Index-14
SET MARKUP (continued)
BODY clause,
CSV,
CSV example,
DELIMITER clause,
ENTMAP clause,
HEAD clause,
HTML,
PREFORMAT clause,
QUOTE clause,
SET ROWPREFETCH command,
SET STATEMENTCACHE command,
SHIFTINOUT variable,
SHOW schema parameter,
SHOW clause,
SHOW command
ALL clause,
CON_ID clause,
ERRORS clause,
listing current page dimensions,
LNO clause,
LOBPREFETCH clause,
PNO clause,
REPHEADER clause,
ROWPREFETCH clause,
STATEMENTCACHE clause,
XQUERY clause,
SHUTDOWN command
ABORT,
IMMEDIATE,
NORMAL,
site profile
site profile (continued) glogin,
SKIP clause
,
in REPHEADER and REPFOOTER commands,
in TTITLE and BTITLE commands,
used to place blank lines before bottom title,
,
slash (/) command
files loaded with GET command,
SPACE variable,
SPOOL clause,
SPOOL command
APPEND clause,
CREATE clause,
file name,
OFF clause,
,
OUT clause,
,
to HTML file,
turning spooling off,
,
SQL DML statements reporting on,
SQL.PNO, referencing in report titles,
SQL.SQLCODE
using in EXIT command,
SQL*Plus
configuring globalization support,
configuring Oracle Net,
exiting,
limits,
obsolete command alternatives,
starting,
statistics,
system variables affecting performance,
who can use,
SQL*Plus command-line vs SQL*Plus Instant Client,
SQL*Plus Instant Client basic,
installation,
lightweight,
SQL*Plus Instant Client (continued)
NLS_LANG,
NLS_LANG charset parameter,
NLS_LANG language parameter,
required files in packages,
,
SQLCODE clause
,
SQLCONTINUE variable,
SQLNUMBER variable,
SQLPATH environment variables,
SQLPLUS command
-MARKUP clause,
-MARKUP option,
-SILENT clause,
-SILENT option,
/NOLOG clause,
,
BODY option, commands
connect identifier,
CSV option,
display syntax,
ENTMAP option,
HEAD option,
nolongontime,
PREFORMAT option,
SYSDBA clause,
SYSOPER clause,
SYSRAC clause,
unsuccessful connection,
username/password,
,
Index-15
SQLTERMINATOR variable,
STANDBY DATAFILE clause,
START command arguments,
passing parameters to a script,
similar to @ (at sign) command,
similar to @@ (double at sign) command,
starting
SQL*Plus,
STARTUP command
MOUNT clause,
PFILE clause,
RECOVER clause,
statement cache
statistics
collecting TIMING statistics,
stop query,
STORE command
SET clause,
stored procedures creating,
subkey, registry,
substitution variables
_EDITOR,
appending characters immediately after,
avoiding unnecessary prompts for value,
concatenation character,
deleting,
,
displaying in headers and footers,
displaying in titles,
in ACCEPT command,
,
listing definitions,
,
parsing,
related system variables,
Index-16
substitution variables (continued) restrictions,
undefined,
SUFFIX variable used with EDIT command,
used with SAVE command,
used with START command,
SUM function, summary lines
computing and printing,
computing and printing at ends of reports,
computing same type on different columns,
printing grand and sub summaries (totals),
printing multiple on same break column,
syntax
COPY command,
syntax rules
SYSDBA clause,
SYSOPER clause,
SYSRAC clause,
,
system variables
affecting SQL*Plus performance,
affecting substitution variables,
listing current settings,
listing old and new values, storing and restoring,
summary of SET commands,
system-maintained values displaying in headers and footers,
T
TAB clause,
TAB variable,
,
tables
controlling destination when copying,
,
listing column definitions,
referring to another user’s when copying,
TABLESPACE clause,
tablespaces, recovering,
tag, HTML,
TERMOUT variable
territory
text adding to current line with APPEND,
changing old to new with CHANGE,
clearing from buffer,
text editor operating system,
,
TIMING clause,
TIMING command
deleting all areas created by,
SHOW clause,
,
titles
aligning elements,
,
displaying at bottom of page,
,
,
displaying column values,
,
displaying system-maintained values,
,
formatting system-maintained values in,
indenting,
listing current definition,
,
restoring definition,
setting at start or end of report,
setting lines from top of page to top title,
setting lines from top title to end of page,
,
setting top and bottom,
,
spacing between last row and bottom title,
TNS_ADMIN
tracing queries,
tracing statements for performance statistics,
for query execution path,
with parallel query option,
TRIMSPOOL variable,
TRUNCATE variable,
,
TTITLE clause,
TTITLE command aligning title elements,
,
COL clause,
LEFT clause,
referencing column value variable,
restoring current definition,
RIGHT clause,
,
suppressing current definition,
TAB clause,
tuning
SET APPINFO OFF,
SET FLUSH OFF,
SET TRIMSPOOL ON,
TWO_TASK
environment variables,
U
UNDEFINE command
UNIX ed,
installing SQL*Plus Instant Client,
SQL*Plus Instant Client files to copy,
unlocking sample tables,
UNTIL CHANGE clause,
UNTIL CONTROLFILE clause,
UNTIL TIME clause,
user profile glogin.sql,
user variable
See
substitution variable username connecting under different,
,
Index-17
username (continued)
USING BACKUP CONTROL FILE clause,
USING clause,
V
VARCHAR columns default format,
VARCHAR2
column definition from DESCRIBE,
VARCHAR2 clause
VARCHAR2 columns changing format,
default format,
VARIABLE command
BINARY_DOUBLE clause,
BINARY_FLOAT clause,
CLOB clause,
NCHAR clause,
REFCURSOR clause,
variables bind variables,
substitution variables,
system variables,
W
WHENEVER OSERROR command
CONTINUE clause,
EXIT clause,
NONE clause,
ROLLBACK clause,
WHENEVER SQLERROR command
CONTINUE clause,
EXIT clause,
NONE clause,
ROLLBACK clause,
Windows installing SQL*Plus Instant Client,
SQL*Plus Instant Client files to copy,
WORD_WRAPPED clause,
WRAP variable,
WRAPPED clause,
X
XMLOPTIMIZATIONCHECK variable,
XMLType
column definition from DESCRIBE, column formatting,
selecting data,
setting column retrieval size,
XQUERY clause,
XQUERY command,
XQUERY options
NODE,
ORDERING,
Index-18
Download
Advertisement
Key features
Run SQL statements
Create reports
Debug code
Perform administrative tasks
Connect to different databases
Run scripts and queries
View results in various formats
Manage database objects
Frequently asked questions
You can connect to a different database using the CONNECT command. You will need to provide the database's connection identifier, which includes the username, password, and host information.
You can run a SQL script using the @ command. You provide the name of the script file as an argument to the @ command. The script will be executed line by line. The script can contain SQL statements, PL/SQL blocks, and SQL*Plus commands.
You can use the COLUMN command to format the output of a query. You can change the column headings, width, and format for each column.