I have been trying to write SQL statement to find list of postal codes that are in 20 mile radius of the origin by using longitude and latitude for each postal code.In my database, I do have the latitude and longitude associated for each postal code.Sample SQL statement:SELECT [Counter] ,[PostalCode] ,[StateCode] ,[County] ,[City] ,[PostalCodeType] ,[Address] ,[State] ,[Latitude] ,[Longitude] FROM [SystemPostalCode]GO
Thank you,--Fawad RashidiWeb Developerwww.fawadafr.com