我正在尝试将以下内容与Decimal类型数据一起使用
SUBSTR(XMLCAST(XMLGROUP(',' || name AS a
ORDER BY name)
AS VARCHAR(60)), 2) AS Names,
当然varchar适用于正确的数据集,但对于日期和小数,我无法使其工作
SUBSTR(XMLCAST(XMLGROUP(',' || Trim(Part_Num) AS a ORDER BY ORD_NUM) AS VARCHAR(250)), 2) AS Part_Num
关于小数或日期应该是什么样子的想法?
提前致谢