[GRASS-dev] problem with sql query

Quentin Page quentin.page at avignon.inra.fr
Tue Jun 30 12:40:49 EDT 2009


I try to interview two vectors with tables with SQL query.

when I write :

echo "update table table1 set attribute1 = 1 where table1.attribute2 =
table2.attribute2" |db.execute

I receive an error message. Is there a syntax error with the point 
between tables and attributes?

Any idea? Can I use sql query to interview two tables in the
same time?

thanks a lot.


More information about the grass-dev mailing list