in reply to Re: Algorythm for searching closest neighbor
in thread Algorythym for searching closest neighbor
but when it's only numerical zip maybe the following will work:@query=54321 654321 or 543210 but you will not find 54320 for example
select min(abs(zip-@query)) from zipcodetable
----------------------------------- --the good, the bad and the physi-- -----------------------------------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Algorythm for searching closest neighbor
by one4k4 (Hermit) on Apr 03, 2001 at 17:25 UTC |