简体   繁体   English

SSIS包通过MDX查询返回较少的行

[英]SSIS Package returning less rows with MDX query

I'm trying to extract data from a cube using MDX, when I run the query in SSMS I get 500K rows (same result I get when I use excel to connect to the cube), however, when I put the query into a SSIS package and execute it I get only 100k rows. 我试图使用MDX从多维数据集中提取数据,当我在SSMS中运行查询时,我得到500K行(当我使用excel连接到多维数据集时得到的结果相同),但是,当我将查询放入SSIS中时打包并执行它,我只会得到10万行。 The package executes just fine (completes correctly), it doesn't show any errors, warnings, anything so not sure why I'm not getting the same number on rows :(. 程序包执行得很好(正确完成),它没有显示任何错误,警告等信息,所以不确定为什么我在行:(上没有得到相同的数字。

Thanks for the help! 谢谢您的帮助! :) :)

好了,我仍然不知道是什么引起了这个问题,但是我能够通过使用链接服务器查询而不是直接向多维数据集的直接MDX查询来提取所有数据。

If you dump it to RAW file SSIS dumps the whole extract. 如果将其转储到RAW文件,SSIS将转储整个提取物。 Then you can import from the RAW file. 然后,您可以从RAW文件导入。 It's not an ideal but solves the issue. 这不是理想的解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM