HP DDL D40 Reference Manual page 174

Data definition language
Table of Contents

Advertisement

Definition Attributes
The DDL figurative constants are shown in the following table:
Name
LOW-VALUE
LOW-VALUES
HIGH-VALUE
HIGH-VALUES
QUOTE
QUOTES
SPACE
SPACES
ZERO
ZEROS
ZEROES
ALL literal
literal
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.
Data Definition Language (DDL) Reference Manual—426798-002
Definition
One or more of the lowest character in the ASCII or national
collating sequence
One or more of the highest character in the ASCII or national
collating sequence
One or more of the ASCII or national quotation mark
character
One or more of the ASCII or national space character (blank)
The numeric value 0 or, depending on the context, one or
more of the ASCII or national zero character
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.
6- 80
VALUE Clause

Advertisement

Table of Contents
loading

Table of Contents