Skip to Main Content
Oracle in a Nutshell
book

Oracle in a Nutshell

by Rick Greenwald, David C. Kreines
December 2002
Intermediate to advanced content levelIntermediate to advanced
928 pages
85h 29m
English
O'Reilly Media, Inc.
Content preview from Oracle in a Nutshell

Appendix B. Expressions, Operators, and Conditions

SQL (Structured Query Language), which we describe in Chapter 7, is the common language used to access the Oracle database. You frequently use some type of logic to specify the data affected by a SQL statement. To implement this logic, you need expressions, operators, and conditions:

Expressions

Used to define values, for example:

2+2
SYSDATE
TO_CHAR(SYSDATE)
Operators

Used to compare two values, for example:

a = b
a != b
a AND b
Conditions

Used to specify acceptable values, for example:

a > b
a EXISTS
a IS NOT NULL

Expressions, operators, and conditions may be included in a variety of SQL statements, as well as in PL/SQL code. This appendix summarizes the various options available for specifying expressions, operators, and conditions. For a more detailed description of where they can be specified, see Chapter 7 for SQL and Chapter 9 for PL/SQL.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Oracle PL/SQL

Oracle PL/SQL

Lewis Cunningham
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern

Publisher Resources

ISBN: 0596003366Errata Page