sp_help_fulltext_columns (Transact-SQL)

 

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

Returns the columns designated for full-text indexing.

System_CAPS_ICON_important.jpg Important


This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use the sys.fulltext_index_columns catalog view instead.

Applies to: SQL Server (SQL Server 2008 through current version), SQL Database V12.

Topic link icon Transact-SQL Syntax Conventions

  
sp_help_fulltext_columns [ [ @table_name = ] 'table_name' ] ]   
     [ , [ @column_name = ] 'column_name' ]  

[ @table_name=] 'table_name'
Is the one- or two-part table name for which full-text index information is requested. table_name is nvarchar(517), with a default value of NULL. If table_name is omitted, full-text index column information is retrieved for every full-text indexed table.

[ @column_name=] 'column_name'
Is the name of the column for which full-text index metadata is requested. column_name is sysname, with a default value of NULL. If column_name is omitted or is NULL, full-text column information is returned for every full-text indexed column for table_name. If table_name is also omitted or is NULL, full-text index column information is returned for every full-text indexed column for all tables in the database.

0 (success) or (1) failure

Column nameData typeDescription
TABLE_OWNERsysnameTable owner. This is the name of the database user that created the table.
TABLE_IDintID of the table.
TABLE_NAMEsysnameName of the table.
FULLTEXT_COLUMN_NAMEsysnameColumn in a full-text indexed table that is designated for indexing.
FULLTEXT_COLIDintColumn ID of the full-text indexed column.
FULLTEXT_BLOBTP_COLNAMEsysnameColumn in a full-text indexed table that specifies the document type of the full-text indexed column. This value is only applicable when the full-text indexed column is a varbinary(max) or image column.
FULLTEXT_BLOBTP_COLIDintColumn ID of the document type column. This value is only applicable when the full-text indexed column is a varbinary(max) or image column.
FULLTEXT_LANGUAGEsysnameLanguage used for the full-text search of the column.

Execute permissions default to members of the public role.

The following example returns information about the columns that have been designated for full-text indexing in the Document table.

USE AdventureWorks2012;  
GO  
EXEC sp_help_fulltext_columns 'Production.Document';  
GO  

COLUMNPROPERTY (Transact-SQL)
sp_fulltext_column (Transact-SQL)
sp_help_fulltext_columns_cursor (Transact-SQL)
System Stored Procedures (Transact-SQL)

Community Additions

ADD
Show: