About prefix search in SQL Server full-text search -


citys table:

id   cityname 1    america city china 2    china city  america 

when use

select *  dbo.citys  cityname like'america%`  

which correct record!

but use

select * dbo.citys contains (cityname, ' "america*" ' ) 

which 2 rows !

so, how prefix query same like 'prefix%' in fts?


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

php - Satis Composer Repository Installation -