I want to be able to Trim the date fields.
Expand|Select|Wrap|Line Numbers
- select A.case_number,B.Open_Date, B.AGENT_ID, X.*,
- DATE(X.startDate) as T
- --Date(timestamp_startDate,101) as T
- FROM DB2PROD.ARTS_OGC_CASE_ACTION_DETAIL A,
- XMLTABLE ('$d/artsQualityOfBusinessReviewBean' passing Case_Action_XML as "d"
- columns
- indicatorCode varchar(20) path 'indicatorCode',
- startDate timestamp path 'startDate',
- dueDate timestamp path 'dueDate',
- endDate timestamp path 'endDate',
- frequency varchar (40) path 'frequency',
- completedDate timestamp path 'completedDate') as X,
- DB2PROD.ARTS_CASE_RESEARCH B
- WHERE A.CASE_NUMBER = B.CASE_NUMBER