[GRASSLIST:3748] db.execute
Daniel Isenegger
disen at geo.unizh.ch
Fri Jun 25 11:43:40 EDT 2004
Hi
i'm working on a suse 8.2 with grass57 (compiled from source) on a local
Grass-DB:
with:
db.connect -p
driver:dbf
database:/data/gis/nfp48/nfp48/ipodlas0.1/grass/grassdata/UpperEngadine/disen/dbf
db.select-statement works well
(echo "select defoliatio from defoliation_53_shp" | db.select)
but db.execute statements fail, e.g.:
echo 'create table test_table ("cat" int, "desc" text)' | db.execute
dbmi: Protocol error
WARNING: Error while executing: "create table test_table ("cat" int, "desc"
text)
"
dbmi: Protocol error
also db.driver fails with the error:
error: can't read "opttype(1)": no such element in array
...
any help appreciated
Thanks dani
More information about the grass-user
mailing list