I have a SQL Server 2008 table with a column of the geography datatype. The value is a point (latitude and longitude).
How do I query the table to return all rows where
You probably want the STDistance method: http://msdn.microsoft.com/en-us/library/bb933952.aspx
Or the STWithin method: http://msdn.microsoft.com/en-us/library/bb933991.aspx