【发布时间】:2013-03-05 12:43:49
【问题描述】:
假设我有一个名为 table1 的表:
| f1| f2 |
--------------
| 1 | str1 |
| 1 | str2 |
| 2 | str3 |
| 3 | str4 |
| 3 | str5 |
我想做这样的事情:
Select f1, group_concat(f2) from table1
这是在 mysql 中,我正在使用 ms-access!并得到结果:
| 1 | str1,str2|
| 2 | str3 |
| 3 | str4,str5|
所以我在 ms-access 中搜索了一个可以执行相同操作的函数并找到了它! xD
问题是每天我必须在ms-access 中下载一些数据库,在那里创建concat 的函数,然后使用这些连接值创建一个新表。
我想将该过程合并到 Pentaho 数据集成勺子转换中,我在完成所有这些工作后使用它。
所以我想要的是一种在 PDI 勺子中定义 ms-access 函数的方法,或者某种组合步骤的方法,以模拟 mysql 中的 group_concat。
【问题讨论】:
标签: ms-access integration field pentaho concat