Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 2216472 - Last Review: July 19, 2010 - Revision: 2.0
A SQL Server 2008 or SQL Server 2005 Analysis Services ROLAP query returns incorrect results
When you run a ROLAP query that involves multiple parent/child dimensions and uses common table expressions (CTE), the ROLAP query can return incorrect results in some scenarios.Â
This issue occurs when the following conditions are true:
- The data source of the ROLAP partition is SQL Server 2005 or later versions, and that it supports common table expressions (CTE).
- The partition is being accessed in ROLAP mode. This may be because one of the dimensions is in ROLAP storage mode, or the partition has ROLAP or HOLAP storage mode.
- There are at least two parent/child dimensions referenced by the partition and one of them is bound to a named query and the other to a table in the DataSourceView.
When these conditions are met, this results in a mixture of CTEs and non-CTEs being used as part of the SQL query that is generated for the ROLAP query and then you would encounter the issue.
Service pack information
To resolve this problem, obtain the latest service pack for SQL Server 2008. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
968382Â
(http://kbalertz.com/Feedback.aspx?kbNumber=968382/en-US/
)
How to obtain the latest service pack for SQL Server 2008
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
This problem was first corrected in SQL Server 2008 Service Pack 2 for SQL Server 2008.
For more information about the drillthrough statement, visit the following Microsoft website:
APPLIES TO
- Microsoft SQL Server 2008 Analysis Services
- Microsoft SQL Server 2005 Analysis Services
- Microsoft SQL Server 2008 Enterprise
- Microsoft SQL Server 2008 Developer
- Microsoft SQL Server 2008 Standard
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Standard Edition
| kbinfo atdownload kbbug kbexpertiseinter kbfix KB2216472 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate