Manualsbrain.com
en
Deutsch
Español
Français
Italiano
Português
Русский
조선말, 한국어
日本語
中文
Manuals
Brands
Fujitsu
UDS/SQL V2.5
User Manual
Fujitsu UDS/SQL V2.5 User Manual
Download
Like
Full screen
Standard
Page
of
324
Go
Contents
U929-J-Z125-9-76
3.3
Technical implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3.3.1
Defining the logical structure of a UDS/SQL database . . . . . . . . . . . . . . . . . 50
3.3.2
Defining the physical structure of a UDS/SQL database . . . . . . . . . . . . . . . . 51
3.3.3
Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4
Schema DDL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.2
Defining an item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.2.1
Defining an unpacked numeric item . . . . . . . . . . . . . . . . . . . . . . . . . . 56
4.2.2
Defining a packed numeric item . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
4.2.3
Defining a binary item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
4.2.4
Defining an alphanumeric item of fixed length . . . . . . . . . . . . . . . . . . . . . 60
4.2.5
Defining an alphanumeric item of variable length . . . . . . . . . . . . . . . . . . . 61
4.2.6
Defining a national item (UTF-16) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
4.2.7
Defining a database key item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
4.3
Defining a vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
4.4
Defining a repeating group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.5
Grouping record elements to form a record type . . . . . . . . . . . . . . . . . . 68
4.6
Linking the records of two record types to form a set . . . . . . . . . . . . . . . 70
4.6.1
Defining a set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.6.2
Defining the type of membership of records in a set . . . . . . . . . . . . . . . . . . 79
4.7
Access paths and record sequences . . . . . . . . . . . . . . . . . . . . . . . . 84
4.7.1
Direct and sequential access on record type level via database key value . . . . . . . 85
4.7.2
Generating additional access paths for direct access on record type level . . . . . . 87
4.7.3
Determining the order of records within a set occurrence . . . . . . . . . . . . . . . 94
4.7.4
Generating additional paths for direct access on set level . . . . . . . . . . . . . . 100
4.7.5
Determining set occurrence selection . . . . . . . . . . . . . . . . . . . . . . . . 103
4.8
Special sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
4.8.1
SYSTEM set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
4.8.2
Dynamic set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
4.9
Assigning names to hash areas and tables . . . . . . . . . . . . . . . . . . . . 107
4.10
The realm concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
4.10.1
Defining a realm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
4.10.2
Defining allocation of records to realms . . . . . . . . . . . . . . . . . . . . . . . 110
4.10.3
Temporary realms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Prev
Next
1
2
3
4
5
6
…
324