BUG: sp_helpindex Does Not Identify UNIQUE KEY Correctly

ID: Q150899


The information in this article applies to:
  • Microsoft SQL Server versions 6.0, 6.5

BUG#: 15010 (6.00, 6.50)

SYMPTOMS

Using sp_helpindex on a table with a UNIQUE KEY identifies the index only as a UNIQUE index, not as a UNIQUE KEY.


CAUSE

The logic in the stored procedure is incorrect for identifying UNIQUE KEYs. It correctly checks for the existence of the UNIQUE KEY status bit, but then presents results based on a different status bit.


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.0 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: Sql60 sql65 sp_helpindex unique key

Keywords : kbprg SSrvProg SSrvStProc kbbug6.50 kbbug6.00
Version : 6.0 6.5
Platform : WINDOWS
Issue type :


Last Reviewed: March 26, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.