想在kettle中的转换过程里使用db存储过程。直接使用运行的话老是报错。后在wiki中看到了这一句The Call DB Procedure needs to be triggered. Use a Row generator step generating e.g. 1 empty row and link that with a hop to the Call DB Procedure step.
所以需要先产生一个空的或者非空的传参来触发procedure。
在输入里面选择generate row(生成记录)。
这样就可以正常调用库里的procedure了。当然也可以传参和不传参。
kettle中使用procedure方法总结
猜你喜欢
转载自sunrise-king.iteye.com/blog/1513389
今日推荐
周排行