A SQL Server 2008 or SQL Server 2005 Analysis Services ROLAP query returns incorrect results

Article translations Article translations
Article ID: 2216472 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

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. 

CAUSE

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.

RESOLUTION

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 How to obtain the latest service pack for SQL Server 2008

STATUS

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.

MORE INFORMATION

For more information about the drillthrough statement, visit the following Microsoft website:
http://technet.microsoft.com/en-us/library/ms145964.aspx

Properties

Article ID: 2216472 - Last Review: July 19, 2010 - Revision: 2.0
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
Keywords: 
kbinfo atdownload kbbug kbexpertiseinter kbfix KB2216472

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com