The information in this article applies to:
BUG #: 16571 SYMPTOMS
If you drop and then rebuild a table that a stored procedure relies on, the
stored procedure may fail with error 8158 "%s has more columns then were
specified in the column list". The stored procedure will also fail with
this error if the database is dumped and then restored. For this problem to
occur, the stored procedure must have a derived table that is based on the
table that was dropped and re-created and uses a GROUP BY to retrieve its
data.
WORKAROUNDTo work around this problem, rewrite the query so that it does not use a GROUP BY clause. 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 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.
Keywords : kbusage SSrvGen SSrvStProc kbbug6.50 |
Last Reviewed: April 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |