I'm trying to figure out how to efficiently search for a city in our database even if it is slightly misspelled. I've activated FULL Text searching and it works fine on a 2 word city name as long as one of the words is spelled correctly.
ie. Grand Rapds will bring up many cities, including the one I want "Grand Rapids"
However, if I type "Casnovi" I cannot seem to find "Casnovia"
I've seen on some web sites where even "CSNOVA" finds "Casnovia". Any thoughts on how they are doing it?
I use currently:
SELECT DISTINCT CITY, STATECODE FROM ZIPCODES WHERE FREETEXT (CITY, '"CSNOVA"')
Anyone?
Thanks,
Paul
_______
I love small animals, especially with a good brown gravy....
ie. Grand Rapds will bring up many cities, including the one I want "Grand Rapids"
However, if I type "Casnovi" I cannot seem to find "Casnovia"
I've seen on some web sites where even "CSNOVA" finds "Casnovia". Any thoughts on how they are doing it?
I use currently:
SELECT DISTINCT CITY, STATECODE FROM ZIPCODES WHERE FREETEXT (CITY, '"CSNOVA"')
Anyone?
Thanks,
Paul
_______
I love small animals, especially with a good brown gravy....