migurus (
mig...@yahoo.com) writes:
> I have a table that keeps spatial data of Los Angeles freeways, the data
> is combined into one record and column type is geography. There is
> another table that keeps some 8+ million of points. I need to calculate
> and set the distance from each point to the freeway and keep it in the
> points table. The distance attribute is actually 1, 2, 3, 4, 5, -1. That
> mark a point within 1 mile, or 2 mile etc. from the freeway. All points
> further than 5 miles are marked with -1.
These speci^H^H^Hatial data types go well over my head. I would suggest