Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 13
KEYTAG Clause
KEYTAG Clause
The KEYTAG clause declares that the field or group is an Enscribe key field. Key fields
can overlap each other.
DDL ignores this clause when generating TACL source code.
key-specifier
is any number from -32,768 to 32,767, or 2 ASCII characters enclosed in quotation
marks. You can omit
key-specifier
for a primary key, but if you include it, it
must be 0. A nonzero value for
key-specifier
indicates an alternate key.
constant-name
is the name of a constant in the open DDL dictionary. The constant value must be
a valid
key-specifier
value.
DUPLICATES [NOT] ALLOWED
specifies whether duplicate alternate key values are allowed. The default is to
allow duplicate alternate key values. You cannot use DUPLICATES ALLOWED for
a primary key field.
KEYTAG Clause Guidelines
The following points are guidelines for using the KEYTAG clause:
•
The KEYTAG clause is only for specifying key fields in records. You cannot use the
KEYTAG clause in a DEFINITION statement.
•
If you use the KEYTAG clause to declare a record’s key fields, you can omit the
key-assignment
part of the RECORD statement.
Keytag {key-specifier} [DUPLICATES [NOT] ALLOWED]
{constant-name}
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...