Loading...
Searching...
No Matches
mpe_derived.ddl
Go to the documentation of this file.
1/**
2 @file mpe_derived.ddl
3 @brief ddl file
4 @details Defines the derived (computed) variable configuration table. This
5 drives MPE_DERIVED rows in MPE_TABLES, so that the table itself can be
6 maintained through the EDIT screen with the usual approve workflow.
7
8 Derived values are not persisted - the logic is applied at read time, before
9 the filter, so that the variables can be filtered on.
10
11 @version 9.2
12 @author 4GL Apps Ltd
13 @copyright 4GL Apps Ltd
14**/
15
16
17create table &curlib..MPE_DERIVED
18 (
19 TX_FROM num not null format=datetime19.3,
20 LIBREF varchar(8) not null,
21 DSN varchar(32) not null,
22 VAR_NM varchar(32) not null,
23 VAR_DEPS varchar(4000),
24 VAR_TYPE varchar(1) not null,
25 VAR_LEN int not null,
26 VAR_FMT varchar(32),
27 VAR_LABEL varchar(256),
28 VAR_LOGIC varchar(4000) not null,
29 ACTIVE int not null,
30 TX_TO num not null format=datetime19.3,
31 constraint pk_mpe_derived
32 primary key(tx_from, libref, dsn, var_nm));