Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 80
VALUE Clause
The DDL figurative constants are shown in the following table:
national-literal
is a national literal of the following form:
{N | n} {"2-byte-character..." | "2-byte-character..."}
Each
2-byte-character
must be 2 bytes in length internally; the first byte
cannot contain the binary equivalent of a quotation mark. Do not separate the
N (or n) and the opening quotation mark with a space or a line break.
The length of a national literal in a VALUE clause must agree with the length
specified in the PICTURE clause for the national data item.
number
is 1 or more digits (0 to 9), an optional leading plus or minus sign, and an
optional decimal point. The value must not be enclosed in quotation marks.
sql-literal
is one of the following DEFAULT values:
datetime-literal
is a DATETIME, DATE, TIME, or TIMESTAMP value in ANSI, USA, or
EUROPEAN format. For details about NonStop™ SQL/MP
datetime-
literal
rules and formats, see the discussion about language elements
in the NonStop™ SQL/MP Reference Manual
or the NonStop™ SQL/MP
Programming Reference Manualfor the language you are using.
Name
Definition
LOW-VALUE
LOW-VALUES
One or more of the lowest character in the ASCII or national
collating sequence
HIGH-VALUE
HIGH-VALUES
One or more of the highest character in the ASCII or national
collating sequence
QUOTE
QUOTES
One or more of the ASCII or national quotation mark
character
SPACE
SPACES
One or more of the ASCII or national space character (blank)
ZERO
ZEROS
ZEROES
The numeric value 0 or, depending on the context, one or
more of the ASCII or national zero character
ALL literal
literal
A repeated literal; the literal can be an ASCII character string,
a national literal, or a figurative constant other than ALL.
When you use a figurative constant, the word ALL is
unnecessary.