Update POINT field

tomascl65 posted 2 weeks ago in Running SQL scripts

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.