I need help with this. I am looking for a complete TSQL code. (no c++/C#)
-
define 32 points around a central point forming a quasi circle with a given radius in miles.
-
Check the 32 above points against a given point to see if it is included inside the geo-fence.
Thanks
JJ
You should look into using SQL Server 2008’s spatial types, specifically geometry. To do what you’re asking, you would do the following: