sp_check_text_index

Description

Reports or fixes consistency problems in the FTS index and source tables.

Syntax

sp_check_text_index server, "index_name", "id_column", "fixit"

Parameters

server

– the name of the text server.

index_name

– the name of the text server.

id_column

– the source identity column name.

fixit

– if FALSE, just reports problems. If TRUE, doesn’t report but repairs problems.

Examples

Example 1

sp_check_text_index "textsvr", "text.i_text", "id", "false"

Lists problems on the server named textsvr with the column name text.i_text.

Usage

Messages

None

Permissions

Any user can execute sp_check_text_index.