Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 81
VALUE Clause
interval-literal
is a character string that conforms to the rules for a NonStop™ SQL/MP
interval-literal
. For details about the NonStop™ SQL/MP rules, see
the discussion about language elements in the NonStop™ SQL/MP
Reference Manual or the NonStop™ SQL/MP Programming Reference
Manual for the host language you are using.
CURRENT
initializes a line item to the current timestamp.
SQLNULL
initializes a line item to an SQL NULL value.
SYSTEM
initializes a field to the system default value. For example, the default value
for a numeric column is zero. The default value for an SQL DATETIME
column is the current timestamp.
symbolic-literal
is a literal that the DDL compiler has prenamed and predefined. DDL replaces
symbolic-literal
with the appropriate numeric literal for COBOL output.
You can use symbolic literals only for numeric items.
The symbolic literals follow:
value-name
is the name associated with a value in a level 89 enumeration clause for a field
of type ENUM. The initial value for a field of type ENUM must be a value name,
and you can use a value name only for a field of type ENUM.
LN clause
specifies the locale associated with a value.
NOVALUE
suppresses any VALUE clauses in a definition referenced by another definition.
NOVALUE can be specified only for a field or group defined with a TYPE clause.
VALUE Clause Guidelines
The following points are guidelines for using the VALUE clause:
Name
Definition
LOW-NUMBER
The minimum numeric value of the type specified for this field
HIGH-NUMBER
The maximum numeric value of the type specified for this field
Содержание 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 ...