1v.db.dropcol(1) Grass User's Manual v.db.dropcol(1)
2
3
4
6 v.db.dropcol - Drops a column from the attribute table connected to a
7 given vector map.
8
10 vector, database, attribute table
11
13 v.db.dropcol
14 v.db.dropcol help
15 v.db.dropcol map=name [layer=integer] column=string [--verbose]
16 [--quiet]
17
18 Parameters:
19 map=name
20 Vector map for which to drop attribute column
21
22 layer=integer
23 Layer where to drop column
24 Default: 1
25
26 column=string
27 Name of the column
28
30 v.db.dropcol drops a column from the attribute table connected to a
31 given vector map. It automatically checks the connection for the speci‐
32 fied layer. v.db.dropcol omits to delete the 'cat' column which is rel‐
33 evant to keep the connection between vector map and table.
34
36 v.db.dropcol is a front-end to db.execute to allow easier usage. The
37 existing database connection(s) can be verified with v.db.connect.
38
40 Dropping a column:
41
42 v.db.dropcol sentiero_brenta_points column=slope
43 v.info -c sentiero_brenta_points
44
45
47 db.execute, v.db.addcol, v.db.addtable, v.db.connect, v.db.droptable,
48 v.db.select, v.db.update
49
51 Markus Neteler
52
53 Last changed: $Date: 2007-02-05 14:12:48 +0100 (Mon, 05 Feb 2007) $
54
55 Full index
56
57 © 2003-2008 GRASS Development Team
58
59
60
61GRASS 6.3.0 v.db.dropcol(1)