Professional Documents
Culture Documents
Pemrograman Basis Data: Overview of SQL PL Language Element
Pemrograman Basis Data: Overview of SQL PL Language Element
Unit Objectives
After completing this unit, you should be
able to:
Discuss DB2 data types
Select the proper data types
Work with user-defined data types
Work with Row data type
Work with Associative arrays
Implement data type anchoring
Associative array
CREATE TYPE arrType2 AS INTEGER
ARRAY[VARCHAR(100)];
CREATE TYPE arrType3 AS myRowType
ARRAY[VARCHAR(100)];
Row anchoring
DECLARE emp ANCHOR ROW employee;
BEGIN
Unit Summary
Having completed this unit, you should be
able to:
Discuss DB2 data types
Select the proper data types
Work with user-defined data types
Work with Row data type
Work with Associative arrays
Implement data type anchoring