FIX: Full-Text Indexes Are Scripted Before Table Indexes Causing DB Creation Script Failure (295047)



The information in this article applies to:

  • Microsoft SQL Server 2000 (all editions)

This article was previously published under Q295047
BUG #: 234858 (SHILOH_BUGS)

SYMPTOMS

On a database that contains full-text indexes, when you generate a database creation script that includes those full-text indexes, attempts to run that script for database creation may fail.

CAUSE

The full-text indexes are scripted before the regular table indexes. Due to this incorrect scripting order, the full-text index creation fails because the table index used by the full-text index has not yet been created.

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

IMPORTANT: When you apply the latest SQL Server 2000 service pack to correct the problem, you must apply the service pack to both the server and the client.

WORKAROUND

In the script, manually move the full-text index creation statements so that they occur after the regular table index creation statements.

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.

Modification Type:MajorLast Reviewed:11/5/2003
Keywords:kbBug kbfix kbSQLServ2000sp1fix KB295047