Oracle B12255-01 User Manual

Page 19

Advertising
background image

xix

...

Horizontal ellipsis points indicate either:

That we have omitted parts of the
code that are not directly related to
the example

That you can repeat a portion of the
code

CREATE TABLE ... AS subquery;

SELECT col1, col2, ... , coln FROM

employees;

.

.

.

Vertical ellipsis points indicate that we
have omitted several lines of code not
directly related to the example.

SQL> SELECT NAME FROM V$DATAFILE;

NAME

------------------------------------

/fsl/dbs/tbs_01.dbf

/fs1/dbs/tbs_02.dbf

.

.

.

/fsl/dbs/tbs_09.dbf

9 rows selected.

Other notation

You must enter symbols other than
brackets, braces, vertical bars, and ellipsis
points as shown.

acctbal NUMBER(11,2);

acct CONSTANT NUMBER(4) := 3;

Italics

Italicized text indicates placeholders or
variables for which you must supply
particular values.

CONNECT SYSTEM/system_password

DB_NAME = database_name

UPPERCASE

Uppercase typeface indicates elements
supplied by the system. We show these
terms in uppercase in order to distinguish
them from terms you define. Unless terms
appear in brackets, enter them in the
order and with the spelling shown.
However, because these terms are not
case sensitive, you can enter them in
lowercase.

SELECT last_name, employee_id FROM

employees;

SELECT * FROM USER_TABLES;

DROP TABLE hr.employees;

lowercase

Lowercase typeface indicates
programmatic elements that you supply.
For example, lowercase indicates names
of tables, columns, or files.

Note:

Some programmatic elements use a

mixture of UPPERCASE and lowercase.
Enter these elements as shown.

SELECT last_name, employee_id FROM

employees;

sqlplus hr/hr

CREATE USER mjones IDENTIFIED BY ty3MU9;

Convention

Meaning

Example

Advertising