Article ID: 294535 - Last Review: November 21, 2006 - Revision: 1.2

FIX: Real-Time Cubes Fail to Process with a Measure Defined as Distinct Count

This article was previously published under Q294535
BUG #: 10884 (Plato7.x)
Expand all | Collapse all

SYMPTOMS

When you process a real-time cube that uses the Distinct Count function as an aggregation type for a Measure, the following error message occurs:
CREATE UNIQUE INDEX terminated because a duplicate key was found for index <Index Name>. Most significant primary key is <Key Name>. The statement has been terminated.

CAUSE

Decision Support Objects (DSO) generates the CREATE INDEX statement incorrectly. The Distinct Count field is left off, which then causes the error message to occur.

RESOLUTION

To resolve this problem, obtain the latest service pack for the Microsoft SQL Server 2000 (the Analysis Services Components - Sql2kasp1.exe). For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211  (http://support.microsoft.com/kb/290211/EN-US/ ) INF: How to Obtain the Latest SQL Server 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in SQL Server 2000 Analysis Services version 8.0. This problem was first corrected in the Analysis Services Components of Microsoft SQL Server 2000 Service Pack 1.

MORE INFORMATION

SQL Server Books Online; topic: "real-time cubes"

APPLIES TO
  • Microsoft SQL Server 2000 Analysis Services
Keywords: 
kbbug kbfix kbssas800sp1fix KB294535
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations