[GRASSLIST:8003] SQL parser error in db.execute

Bronwyn Price bronwyn at env.ethz.ch
Sat Aug 20 12:12:49 EDT 2005


Hi all

I am trying to add a column to a table using 
db.execute. I use the following command:

  echo "ALTER TABLE rose_10_10_5 ADD COLUMN area" | db.execute

but always get the error:

SQL parser error in statement:
ALTER TABLE rose_10_10_5 ADD COLUMN new area

and I cant figure out why. Any ideas?

Bronwyn

-- 




More information about the grass-user mailing list