What is Full Text Search vs LIKE

后端 未结 6 1139
南旧
南旧 2020-11-30 17:08

I just read a post mentioning \"full text search\" in SQL.

I was just wondering what the difference between FTS and LIKE are. I did read a couple of articles but

6条回答
  •  南方客
    南方客 (楼主)
    2020-11-30 17:30

    Like uses wildcards only, and isn't all that powerful.

    Full text allows much more complex searching, including And, Or, Not, even similar sounding results (SOUNDEX) and many more items.

    I would start looking at the SQL CONTAINS() FREETEXT() and related Full Text search items to help get a better understanding of what is available.

提交回复
热议问题