[postgis-users] update a table
Bayu Kurniawan R
bayu at bkurniawan.com
Mon Jun 4 23:47:25 PDT 2007
i want update a table,
when i want to update, a wrote sql like :
UPDATE obj_cadangan_oil set working_area=(select block_name where
intersects(a.the_geom,b.the_geom) and b.the_geom ~ a.the_geom)
FROM map_field a, map_petroleum_contract_area b;
it's above query is right ???,
why it's take a long time to query
--
Bayu Kurniawan R
GIS Programmer
PT. Sigma Cipta Utama
Jl. Tekno I Blok B No:5,6,7
BSD City Tangerang 15314
Indonesia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070605/9bc88ab6/attachment.html>
More information about the postgis-users
mailing list