Table 6-7. Mapping DB2 Data Types to EDM Simple Types
Table 6-8 shows the mapping of EDM Simple Types to DB2 data types. The columns are defined as follows:
Table 6-8. Mapping EDM Simple Types to DB2 Data Types
Table 6-9 describes the mapping of EDM aggregate canonical functions to DB2 functions.
Table 6-9. Mapping Aggregate Canonical Functions Avg(expression) avg(expression) BigCount(expression) count_big(expression) Count(expression) count(expression) Max(expression) max(expression) Min(expression) min(expression) StDev(expression) stddev(expression) Sum(expression) sum(expression)Table 6-10 describes the mapping of EDM date and time canonical functions to DB2 functions.
Table 6-10. Mapping Date and Time Canonical Functions Year(expression) Year(expression) Month(expression) Month(expression) Day(expression) Day(expression) Hour(expression) Hour(expression) Minute(expression) Minute(expression) Second(expression) Second(expression) Millisecond(expression) GetTotalOffsetMinutes(DateTime Offset) Table 6-11 describes the mapping of EDM math canonical functions to DB2 functions.
Table 6-11. Mapping Math Canonical Functions Abs(value) abs(value) Ceiling(value) ceiling(value) Floor(value) floor(value) Round(value) round(value)Table 6-12 describes the mapping of EDM string canonical functions to DB2 functions.
Table 6-12. Mapping String Canonical Functions Length(string) length(string) LTrim(string) ltrim(string) Reverse(string) Not supported. See “Handling Unsupported Canonical Functions” for more information. RTrim(string) rtrim(string) Substring(string, start, length) Substring(string, start, length) ToLower(string) lower(string) ToUpper(string) upper(string) Trim(string) trim(BOTH FROM string)