How to use like condition with multiple values in sql server 2005?

前端 未结 5 1782
醉酒成梦
醉酒成梦 2021-01-11 19:36

I need to filter out records based on some text matching in nvarchar(1000) column. Table has more than 400 thousands records and growing. For now, I am using Like condition:

5条回答
  •  梦谈多话
    2021-01-11 20:14

    If you can create a FULLTEXT INDEX on that column of your table (that assumes a lot of research on performance and space), then you are probably going to see a big improvement on performance on text matching. You can go to this link to see what FULLTEXT SEARCH is and this link to see how to create a FULLTEXT INDEX.

提交回复
热议问题