查询与全文索引相关的内部元数据sql语句

select
SCHEMA_NAME(t.schema_id) as user_table_schema,
OBJECT_NAME(fti.object_id) as user_table,
fti.object_id as user_table_name,
it.name as internal_table_name,
it.object_id as internal_table_id,
it.internal_type_desc
from sys.internal_tables as it

inner join sys.fulltext_indexes as fti
ON it.parent_id=fti.object_id
inner join sys.tables t
on t.object_id=fti.object_id
where it.internal_type_desc like '%FULLTEXT%'

ORDER BY USER_TABLE;

 

posted on 2013-12-25 14:06  中子持心  阅读(150)  评论(0编辑  收藏  举报

导航