You are here: Re: Search Advice « MsSQL Server « IT news, forums, messages
Re: Search Advice

Posted by Alexander Kuznetsov on 10/08/58 11:28

if you are 100% sure you cannot sue full text search,
do it yourself:
for instanse, for row
ID Make Model
1 Toyota Camry

add these row to an additional table (ID, TOKEN)

1 TOYOTA
1 OYOTA
1 YOTA
1 OTA
1 TA
1 A
1 CAMRY
1 AMRY
1 MRY
1 RY
1 Y

etc.

that done, instead of MODEL LIKE '%OYO%' or MAKE LIKE '%OYO%' you can
use

TOKEN LIKE 'OYO%' which is sargeable

Maintaining tokens is another story, long and boring

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация