The information in this article applies to:
BUG# NT: 10215 (4.21a) SYMPTOMSIf a stored procedure or view depends on a table that has been dropped, sysdepends will continue referencing the old ID of the table as a dependent, even if this ID does not exist any more. As a result, sp_depends will not show the correct object dependency. WORKAROUNDDrop and recreate the stored procedure or view. The entries for sysdepends will be properly recreated. STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server versions 4.21a, 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. MORE INFORMATION
The following is an example of the problem. First, create the table and
procedure referencing that table.
Now drop the table, and recreate it using the same name. Then new object id.
A query against sysdepends shows that the dependent object id is not updated.
Additional query words: Windows NT
Keywords : |
Last Reviewed: March 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |