MySQL/POINT:修订间差异
来自康健生活
| 第73行: | 第73行: | ||
== 更新数据 == | == 更新数据 == | ||
{{leftrightflex|<syntaxhighlight lang="mysql"> | |||
update `test-location` set location=st_GeomFromText('POINT(123 100)') where id =1;</syntaxhighlight>|{{consoleout|<pre> | |||
Query OK, 1 row affected (0.01 sec) | |||
Rows matched: 1 Changed: 1 Warnings: 0 | |||
</pre>}}}} | |||