Microsoft KB Archive/150899

= BUG: sp_helpindex Does Not Identify UNIQUE KEY Correctly =

Article ID: 150899

Article Last Modified on 10/16/2003

-

APPLIES TO


 * Microsoft SQL Server 6.0 Standard Edition
 * Microsoft SQL Server 6.5 Standard Edition

-



This article was previously published under Q150899



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: kbbug kbprogramming KB150899

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.