Created
April 22, 2018 23:53
-
-
Save marcoah/254d4c5b669e64adbeff469bb5b4a0f7 to your computer and use it in GitHub Desktop.
Pasar datos de Latitud y Longitud en campos double a un solo campo geography, Codigo para MySQL 5.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE perforaciones SET POSICION = GeomFromText(CONCAT('POINT (', LON, ' ', LAT, ')')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment