FIX: Removal of Full-Text Index May Incorrectly Remove Rows From sysdepends System Table

This article was previously published under Q290210
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #:351953 (SHILOH_BUGS)
SYMPTOMS
Rows in the sysdepends system table that relate to intra-table dependencies (for example, computed columns or check constraints) may be removed inappropriately under the following conditions:
  • A Full-text index is removed from the table either from SQL Enterprise Manager or by using the sp_fulltext_table stored procedure with the drop option.

  • The Full-text index includes one or more image column.

  • The table has intra-table dependencies (for example, computed-column dependency).
No errors are reported when the rows are removed from the sysdepends system table. However, unexpected problems may occur if SQL Server has a need to reference any of the dropped constraints. For example, you may be able to drop a column that is referenced by a computed column from the user table but you the following error message occurs when you query the table:
Server: Msg 3624, Level 20, State 1, Procedure tab, Line 1

Location: compplan.cpp:4297
Expression: fOk
SPID: 51
Process ID: 724
Description: Column in check constraint not found!

Connection Broken
You may also find that SQL Server generates an Assertion in the SQL Server error log.
CAUSE
The DELETE sysdepends statement in the sp_fulltext_table stored procedure has an incorrect WHERE clause.
RESOLUTION
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
Drop, and then re-create the computed columns or check constraints on the affected table to re-create the entries in the sysdepends system table.
STATUS
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
MORE INFORMATION
When you create Full-text index on image columns, SQL server adds one more row to the sysdepends system table for the image column dependency. When you remove a Full-text index, SQL Server deletes that row from the sysdepends system table. However, SQL Server might accidentally delete other rows that keep intra-table dependencies. No errors are reported when the rows are removed from the sysdepends system table inappropriately.
Properties

Article ID: 290210 - Last Review: 01/16/2015 21:45:44 - Revision: 3.2

Microsoft SQL Server 2000 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix kbsqlserv2000sp1fix KB290210
Feedback