[GRASS5] [bug #4142] (grass) sql statemts in d.m
Hamish
hamish_nospam at yahoo.com
Tue Mar 7 23:38:22 EST 2006
> > My understanding from examples in the docs
> > (http://grass.itc.it/grass61/manuals/html61_user/sql.html) is that
> > the use of double quotes to allow more than one query run in a
> > single statment. Am I wrong on this?
> >
> > Text-string matching requires the text part to be 'single quoted'
> > and multiple queries should be contained in "double quotes". e.g.
> > d.vect map where="individual='juvenile' and area='beach'"
>
> The quoting issue is a different one from the fact that [type='JAPI'
> and 'SP'] is invalid as you have to repeat the field/column name.
>
> As was already hinted at by others, the quoting rules in the
> documentation target the command line. Quoting is handled differently
> in the GUI interface.
I have updated the help page to clarify that you only need the double
quotes when specifying the query from the command line.
Hamish
More information about the grass-dev
mailing list