BUG: Recreating a Table Causes sysdepends to Become Invalid (115333)
The information in this article applies to:
- Microsoft SQL Server 4.2x
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
- Microsoft SQL Server 7.0
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q115333
BUG #: 10215 (4.21a)
BUG #: 16652 (SQLBUG_65)
BUG #: 57903 (SQLBUG_70)
BUG #: 56127 (SHILOH)
SYMPTOMS
If 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.
WORKAROUND
Drop and recreate the stored procedure or view. The entries for sysdepends
will be properly recreated.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Modification Type: | Minor | Last Reviewed: | 2/22/2005 |
---|
Keywords: | kbbug KB115333 |
---|
|