SELECT * FROM %1 JOIN %2 ON %1.GROUPID==%2.GROUPID
失败并显示错误消息
[Dynamics AX Source [8]] Error: Attempt to read message string for 0xc02090f5 failed with error 0xc02090f2. Make sure all message related files are registered.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Dynamics AX Source returned error code 0xC02090F5. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
我在 AX 源组件中尝试了两个表连接和多个表连接,真的不知道为什么会抛出错误。任何有关语法的想法都会有所帮助。
最佳答案
SELECT * FROM %1 JOIN %2 WHERE %2.GROUPID == %1.GROUPID
请注意,由于组件的限制,您无法从第二个表(%2 表)中选择列。这意味着 AX 源组件无法从多个表返回列。我猜想,加入的方式就是创建多个AX源组件,通过“合并加入组件”将多个AX源组件加入在一起。
关于mysql - 如何在 SSIS 中使用 Dynamic AX 源组件编写联接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42487642/