1v.db.update(1)                Grass User's Manual               v.db.update(1)
2
3
4

NAME

6       v.db.update   -  Allows  to  assign  a  new  value  to  a column in the
7       attribute table connected to a given map
8

KEYWORDS

10       vector, database, attribute table
11

SYNOPSIS

13       v.db.update
14       v.db.update help
15       v.db.update  map=string   [layer=integer]   column=string  value=string
16       [where=string]
17
18   Parameters:
19       map=string
20           Vector map for which to edit attribute table
21
22       layer=integer
23           Layer where to add column Default: 1
24
25       column=string
26           Column to update
27
28       value=string
29           New  value  to  assign  to the column (varchar values have to be in
30           single quotes, ex: 'grass')
31
32       where=string
33           Condition for update (everything after the 'where'  sql  statement;
34           ex: cat=1 or col1/col2>1)
35

DESCRIPTION

37       v.db.update  allows  to assign a new value to a column in the attribute
38       table connected to a given map.
39

NOTES

41       v.db.update is just a front-end to db.execute to  allow  easier  usage.
42       For complex SQL UPDATE statements, db.execute should be used.
43

SEE ALSO

45       db.execute,  v.db.addcol,  v.db.addtable, v.db.connect, v.db.droptable,
46       v.db.select
47

AUTHOR

49       Moritz Lennert (mlennert@club.worldonline.be)
50
51       Last changed: $Date: 2007/03/08 13:51:30 $
52
53       Full index
54
55
56
57GRASS 6.2.2                                                     v.db.update(1)
Impressum