Update POINT field

tomascl65's profile image tomascl65 posted 6 years ago in Running SQL scripts Permalink

I'm using MariaDB 10.1.31. How to update POINT field? It works with: UPDATE table SET point_field = POINTFROMTEXT("POINT(0 0)") but not with: UPDATE table SET point_field = POINTFROMTEXT("POINT(lat_field lng_field)") Thanks.

Please login to leave a reply, or register at first.