title: Geo Fencing Code - pure SQL server 2008 implemenation
body: <p>I need help with this.  I am looking for a complete TSQL code.  (no c++/C#)</p>
  
  <ol>
  <li><p>define 32 points around a central point forming a quasi circle with a given radius in miles.</p></li>
  <li><p>Check the 32 above points against a given point to see if it is included inside the geo-fence.</p></li>
  </ol>
  
  <p>Thanks 
  JJ</p>