[GRASS-user] populate a table with values from another one

Manuel Sangiao masanlo1 at gmail.com
Mon May 26 17:20:41 EDT 2008


Hi all,

someone knows why this statement doesn't work?

echo "UPDATE grenzen gr SET gr.cleft=(SELECT adm.NAME FROM myadm0 amd WHERE
gr.left= adm.cat)" | db.execute

I try to populate the 'cleft'-column of 'grenzen'-table with the values from
the 'NAME'-column of 'myadm0'-table.

Thanks in advance

Manuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080526/ece569c7/attachment.html


More information about the grass-user mailing list