Fujitsu UDS/SQL V2.5 用户手册

下载
页码 324
Schema DDL
Linking record types
U929-J-Z125-9-76
  
83
D
ok
us
c
h
abl
on
en
 1
9x
24 V
e
rs
ion
 7
.3
us
 f
ü
r F
ram
eM
ak
er
 V
7
.x
v
o
m
 1
4.
02
.2
00
7
©
 c
o
gni
tas
 Gm
b
H
 20
01-
20
07
24
. Ok
tobe
r 20
07
  S
ta
nd
 0
9:
30
.2
3
P
fa
d:
 G
:\
v
og
t\
fs
c
\ud
s
\M
anu
al
e
\e
n\
ud
s
e
nt
_e\
u
ds
ent
.k
0
4
Example 4 
In order to resolve a many-to-many relationship, it is necessary to define an auxiliary record 
type. This requires the following types of set membership: 
Figure 21: Types of set membership in the case of a many-to-many relationship 
The purpose of an auxiliary record type is to link the ORDERS records with the ARTICLE 
records. The link is only effected if every auxiliary record is present in each set occurrence 
of the two sets. This is why membership is enforced by the AUTOMATIC option. 
If the auxiliary records contain no valid information once they have been released from their 
owner records, the link to the owner records can be retained unless the records are to be 
deleted. Membership can thus be specified as MANDATORY. 
(MANDATORY AUTOMATIC)
ORDERS
ARTICLE
AUX. RECORD
TYPE
(MANDATORY AUTOMATIC)