FIX: ALTER TABLE ADD PK May Take a Long Time Even With No DataLast reviewed: April 9, 1997Article ID: Q159848 |
The information in this article applies to:
SYMPTOMSIf there are thousands of tables with hundreds of columns each, the ALTER TABLE ADD PK command may take a long time, even if there is no data in the table.
MORE INFORMATIONALTER TABLE ADD PK searches syscolumns several times and scans the tables. With thousands of wide tables, it may take a full minute to add a PK to an empty table.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.
|
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |