如何列出数据库中所有具有全文索引的表/列?

最佳答案

select distinct
    object_name(fic.[object_id]) table_name,
    [name] column_name
from
    sys.fulltext_index_columns fic
    inner join sys.columns c
        on c.[object_id] = fic.[object_id]
        and c.[column_id] = fic.[column_id]

关于sql-server - 列出哪些列在SQL Server 2005中具有全文本索引,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/949435/

10-10 03:18