代码之家  ›  专栏  ›  技术社区  ›  Jonathan Allen

我用哪个停车牌?

  •  0
  • Jonathan Allen  · 技术社区  · 11 年前

    如何确定哪个非索引字表与全文索引相关联?

    1 回复  |  直到 11 年前
        1
  •  1
  •   Jonathan Allen    11 年前

    试试这个。

    SELECT FI.fulltext_catalog_id,
           FI.stoplist_id,
           FS.stopword
    FROM   sys.fulltext_indexes FI
           LEFT JOIN sys.fulltext_stopwords FS
             ON fi.stoplist_id = fs.stoplist_id 
    

    注: 所选信息位于 sys.fulltext_stopwords 表,但要获取其他相关信息 fulltext_catalog 已连接的 fulltext_indexes 桌子