Using Full-Text-Search in order to find partial words (SQL Server 2008)

后端 未结 1 1724
Happy的楠姐
Happy的楠姐 2020-12-16 09:32

I\'m trying to build a facebook like search for my software.

I\'d like to query the table customers.

I\'ve set up a FULLTEXT Index and tried the next query

1条回答
  •  既然无缘
    2020-12-16 10:08

    I've found a solution to my problem. The query should be:

    select * from Customers where contains(*, '"ann*"')
    

    The quotes are the important part.

    0 讨论(0)
提交回复
热议问题