[GRASS5] db.oodbfedit: a _very_ simplistic approach to dbf attribute editing

Glynn Clements glynn at gclements.plus.com
Sat Aug 6 09:45:00 EDT 2005

Daniel Calvelo Aros wrote:

> > No. Those changes just fix and extend the syntax of arithmetic
> > expressions within WHERE clauses.
> > **********
> > 
> > Is this still true ? One clear need was the possibility of including
> > expressions in the update statement.
> He, he. No, that's not true anymore. What you have now is (test please, test
> please, test please):
> update table foo set bar=baz/2+1/(-4*toto);

Does this handle updating multiple fields correctly? I.e. if you do:

	update table foo set bar=bar+1, baz=bar

will baz contain the original value of bar (not the updated value)?

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list