SELECT OD.ORGANIZATION_CODE, TO_CHAR(H.ORDER_NUMBER), --ORACLE ALERT 自动转数字类型最长11位,转字符处理解决APP-ALR-04108 (L.LINE_NUMBER || '.' || L.SHIPMENT_NUMBER), MSI.SEGMENT1 , L.CANCELLED_QUANTITY, TO_CHAR(L.CREATION_DATE, 'YYYY-MM-DD'), TO_CHAR(L.LAST_UPDATE_DAT…