Reputation: 10880
I have zillow neighborhood data and is successfully imported to DB(thanx to http://shapefilesource.codeplex.com). Now i want to write an SP which will take lat,long and will return all record in which given point lies or is near to them. How can I achieve this in TSQL or do I need to use CLR.
Upvotes: 0
Views: 335
Reputation: 814
I think that should be able using the function STBuffer and STIntersects. Maybe these pages may help:
http://msdn.microsoft.com/en-us/library/ff929109.aspx
Upvotes: 1