title: How to store longitude & latitude as a geography in sql server 2014?
body: <p>I have locations in longitude and latitude coordinates. My goal is eventually to be able to select all rows from myTable Where distance is less than 2km.</p>
  
  <ol>
  <li><p>How can one use the longitude and latitude to store location within a geography column?(because it's supposed to be only one geographic point not two right? not one for longitude and one for latitude?)</p></li>
  <li><p>Now that I've got the geography points, how can i select all the rows within a specific distance(in my case 2km)? </p></li>
  </ol>