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

Article translations Article translations
Article ID: 290210 - View products that this article applies to.
This article was previously published under Q290210
BUG #:351953 (SHILOH_BUGS)
Expand all | Collapse all

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 the Microsoft 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: November 5, 2003 - Revision: 3.2
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbbug kbfix kbsqlserv2000sp1fix KB290210

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com