sql - How to update table with data from same table? -
there table in sql-server:
track( id uniqueindeficater, track geography, the_geom geometry )
now want take track column , put data the_geom column converting geography geometry data type. this:
geometry::stgeomfromtext(track.track.stastext(),4326)
how can update column using data same table?
something this:
update track set the_geom = geometry::stgeomfromtext(track.stastext(),4326)
Comments
Post a Comment