0

I've a question about the best way to get product data searching by name. Which one is better way to do that?

  1. SELECT * FROM Products WHERE ProductName = 'Samsung Note 2'
  2. Creating a full text index for ProductName and get matching products that way

In brief, can my query be faster if I create a full text index?

Yuck
  • 49,664
  • 13
  • 105
  • 135
Saygın Karahan
  • 167
  • 1
  • 9

1 Answers1

0

Are you searching..

  • whole ProductName? Then use a normal index
  • individual words or fuzzy matches in a ProductName? Use full text serach
gbn
  • 422,506
  • 82
  • 585
  • 676