Specifies whether or not a particular column of a table participates in full-text indexing.
sp_fulltext_column [@tabname =] 'qualified_table_name',
[@colname =] 'column_name',
[@action =] 'action'
Value | Description |
---|---|
add | Adds column_name of qualified_table_name to the table’s inactive full-text index. |
drop | Removes column_name of qualified_table_name from the table’s inactive full-text index. |
0 (success) or 1 (failure)
None
Only qualified table owners or members of the db_ddladmin fixed database role can execute sp_fulltext_column.
This example adds the Description column from the Categories table to the table's full-text index.
USE Northwind
EXEC sp_fulltext_column Categories, Description, 'add'
OBJECTPROPERTY | sp_help_fulltext_tables |
sp_help_fulltext_columns | sp_help_fulltext_tables_cursor |
sp_help_fulltext_columns_cursor | System Stored Procedures |