a guest Feb 13th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- ### Calculo de distância. _Distance calculation._
- Esta função MySQL retorna a distância (em KM) entre dois pontos com Latitude e Longitude.
- _This MySQL function returns the distance (in Kilometers) between two points with Latitude and Longitude._
- ### Exemplo de uso. _Example of use._
- SELECT address.*, distance_latlng_km(13.6576773, -69.7116724, address.lat, address.lng) AS distance_km FROM address ORDER BY distance_km ASC
RAW Paste Data