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



The information in this article applies to:

  • Microsoft SQL Server 2000 Analysis Services

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

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 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"

Modification Type:MinorLast Reviewed:4/24/2003
Keywords:kbBug kbfix kbssas800sp1fix KB294535 kbAudDeveloper