SQL*Plus User's Guide and Reference
Release 9.0.1

Part Number A88827-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

Command Reference, 7 of 52


APPEND

Syntax

A[PPEND] text

Adds specified text to the end of the current line in the SQL buffer.

Terms

Refer to the following for a description of the term or clause:

text

Examples

To append a space and the column name CITY to the first line of the buffer, make that line the current line by listing the line as follows:

Keyboard icon
1

Screen icon
1* SELECT DEPARTMENT_ID

Now enter APPEND:

Keyboard icon
APPEND  CITY
1
Screen icon
1* SELECT DEPARTMENT_ID, CITY

Notice the double space between APPEND and CITY. The first space separates APPEND from the characters to be appended; the second space becomes the first appended character.

To append a semicolon to the line, enter

Keyboard icon
APPEND ;;

SQL*Plus appends the first semicolon to the line and interprets the second as the terminator for the APPEND command.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback