WHERE Clause
Clauses
5–72
058057 Tandem Computers Incorporated
WHERE Clause
The WHERE clause allows you to restrict the records that contribute to the target file.
The syntax of the WHERE clause is:
WHERE
logical-expression
logical-expression
is a condition that returns a true or false value. See Section 3 for more information
about logical expressions.
The logical expression in a WHERE clause defines which records are restricted from
contributing to the target file. For example:
WHERE employee; BEGINS WITH "BROWN";
Using the WHERE Clause
to Establish a Link
Using the WHERE clause to specify a link causes only the records which satisfy the
condition specified in the logical-expression to be included in the report. The link
created by the WHERE clause remains in effect only fro the associated LIST or FIND
statement. For a more complete description of linking, refer to the LINK statement in
Section 4. The following example shows how the WHERE clause is used to specify a
link:
WHERE parts.partnum EQ odetail.partnum,
Содержание ENFORM 058057
Страница 5: ...New and Changed Information iv 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 6: ...New and Changed Information 058057 Tandem Computers Incorporated v...
Страница 18: ...Preface xvi 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 19: ...Preface 058057 Tandem Computers Incorporated xvii...
Страница 21: ...Notation Conventions xviii 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 25: ...ENFORM Terminology Introduction 1 4 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 121: ...TITLE Statement Statements 4 50 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 227: ...ENFORM Procedures ENFORM Syntax Summary A 16 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 269: ...Glossary Glossary 4 058057 Tandem Computers Incorporated This page left intentionally blank...