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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -