v.db.dropcol(1)

NAME
v.db.dropcol

DESCRIPTION
v.db.dropcol drops a column from the attribute table connected to a given vector map. It automatically checks the connection for the specified layer. v.db.dropcol omits to delete the 'cat' column which is relevant to keep the connection between vector map and table.

NOTES
v.db.dropcol is a front-end to db.execute to allow easier usage. The existing database connection(s) can be verified with v.db.connect.

EXAMPLES
Dropping a column:
v.db.dropcol sentiero_brenta_points column=slope
v.info -c sentiero_brenta_points

SEE ALSO
db.droptable, db.execute, v.db.addcol, v.db.addtable, v.db.connect, v.db.droptable, v.db.select, v.db.update

AUTHOR
Markus Neteler

Last changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $

Full index

© 2003-2011 GRASS Development Team