Files > SQLI_DOMAIN

name
SQLI_DOMAIN
number
1.5212
location
^DMSQ("DM",
description
The set from which all objects of that domain must be drawn. In SQLI, all table elements (SQLI_TABLE_ELEMENT) have a domain which restricts them to their domain set. For each data type there is a domain of the same name, representing the same set. Other domains have different set membership restrictions. Each domain has a data type, which determines the rules for comparing values from different domains, and the operators which may be used on them. The PRIMARY_KEY data type and domain is unique to SQLI. It is used to relate primary keys to foreign keys unambiguously (see SQLI_TABLE_ELEMENT)
Fields
#NameLocationTypeDetailsIndexDescription
.01dm name(+)0;1FREE TEXTBName of FileMan domain Includes names of standard SQL data types. Must not be a keyword.
1dm data type(+)0;2POINTER1.5211EIEN of a standard data type in SQLI_DATA_TYPE. Required.
2dm comment0;3FREE TEXTA short comment which describes the data type set
3dm table0;4POINTER1.5215CIEN of table in SQLI_TABLE if domain is of type PRIMARY_KEY Only primary and foreign keys have such domains.
4dm width0;5NUMERICDefault display width. Overrides data type display width.
5dm scale0;6NUMERICDefault number of decimal places displayed for numbers.
6dm output format0;7POINTER1.5214Default output format for elements of this domain. Used to provide text value of pointer chains, etc.
7dm int expr1;E1,245FREE TEXTAn M expression which returns the internal value of a base value. Expression uses placeholder {B} to represent the base value
8dm int exec2;E1,245FREE TEXTM code line which sets internal value, {I}, to some function of base value, {B}.
9dm base expr3;E1,245FREE TEXTAn M expression which returns the internal value of base value, {B}.
10dm base exec4;E1,245FREE TEXTCode which when executed returns the base value of X
11dm fileman field type0;8SET OF CODESF:FREE TEXT
N:NUMERIC
P:POINTER
D:DATE
W:WORD-PROCESSING
K:MUMPS
B:BOOLEAN
S:SET-OF-CODES
V:VARIABLE POINTER
DFileMan field type (F, N, D, DT, K, ...)

Referenced by 1 types

  1. SQLI_TABLE_ELEMENT (1.5216) -- e_domain