SQL 2008: Turn off Stop Words for Full Text Search Query

前端 未结 3 487
说谎
说谎 2020-12-05 10:15

I\'m having quite a bit of difficulty finding a good solution for this:

Let\'s say I have a table of \"Company\", with a column called \"Name\". I have a full-text c

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 11:00

    By default in SQL Server the stopwords are not ignored.

    This is what you want to do:

    sp_configure 'show advanced options', 1;
    RECONFIGURE;
    GO
    sp_configure 'transform noise words', 1;
    RECONFIGURE;
    GO
    

    REF: http://msdn.microsoft.com/en-us/library/ms187914%28v=sql.100%29.aspx

提交回复
热议问题