Uses a cursor to return the columns that have been designated for full-text indexing.
sp_help_fulltext_columns_cursor [@cursor_return =] @cursor_variable
OUTPUT,
[[@table_name =] 'table_name'],
[[@column_name =] 'column_name']
0 (success) or (1) failure
Column name | Data type | Description |
---|---|---|
TABLE_OWNER | sysname | Table owner. This is the name of the database user that created the table. |
TABLE_NAME | sysname | Table name. |
FULLTEXT_COLID | integer | Column ID of the full-text indexed column. |
FULLTEXT_COLUMN_NAME | sysname | Column in a full-text indexed table that is designated for indexing. |
Execute permissions default to members of the public role.
This example returns information about the columns that have been designated for full-text indexing in all of the tables in the database.
USE Northwind
GO
DECLARE @mycursor CURSOR
EXEC sp_help_fulltext_columns_cursor @mycursor OUTPUT
FETCH NEXT FROM @mycursor
WHILE (@@FETCH_STATUS <> -1)
BEGIN
FETCH NEXT FROM @mycursor
END
CLOSE @mycursor
DEALLOCATE @mycursor
GO
COLUMNPROPERTY | sp_help_fulltext_columns |
sp_fulltext_column | System Stored Procedures |