[postgis-users] SQL Code to update a geometry column cell by oid?

Joshua Klein gameguy56 at gmail.com
Sun Mar 23 17:26:38 PDT 2008


'UPDATE geograwdata SET LatLon = GeometryFromText('POINT(somecoordinates)',
4326) WHERE 'oid' = (someoid)') '

This is the code I came up with and it's not working, what is wrong with my
code?

geograwdata is the name of the table
LatLon is the name of the column

thanks!