1v.db.droptable(1)           GRASS GIS User's Manual          v.db.droptable(1)
2
3
4

NAME

6       v.db.droptable  - Removes existing attribute table of a vector map.
7

KEYWORDS

9       vector, attribute table, database
10

SYNOPSIS

12       v.db.droptable
13       v.db.droptable --help
14       v.db.droptable  [-f] map=name  [table=name]   [layer=string]   [--help]
15       [--verbose]  [--quiet]  [--ui]
16
17   Flags:
18       -f
19           Force removal (required for actual deletion of table)
20
21       --help
22           Print usage summary
23
24       --verbose
25           Verbose module output
26
27       --quiet
28           Quiet module output
29
30       --ui
31           Force launching GUI dialog
32
33   Parameters:
34       map=name [required]
35           Name of vector map
36           Or data source for direct OGR access
37
38       table=name
39           Table name (default: vector map name)
40
41       layer=string
42           Layer number or name
43           Vector features can have category values in different layers.  This
44           number determines which layer to use. When used with direct OGR ac‐
45           cess this is the layer name.
46           Default: 1
47

DESCRIPTION

49       v.db.droptable removes an existing attribute table from a given  vector
50       map linked at given layer. If the -f force flag is not given then noth‐
51       ing is removed.
52

NOTES

54       v.db.droptable is a front-end to db.execute to allow easier usage.
55
56       The existing database connection(s) can be verified with v.db.connect.
57

EXAMPLE

59       Removing attribute table connected to layer 1:
60       g.copy vect=roadsmajor,myroads
61       v.db.droptable myroads
62       v.db.droptable myroads -f
63       v.db.connect -p myroads
64

SEE ALSO

66        db.connect, db.execute, v.db.addtable, v.db.connect,  v.db.dropcolumn,
67       v.db.select, v.db.update
68
69        GRASS SQL interface
70

AUTHOR

72       Markus Neteler
73

SOURCE CODE

75       Available at: v.db.droptable source code (history)
76
77       Accessed: Saturday Jan 21 21:17:03 2023
78
79       Main  index  | Vector index | Topics index | Keywords index | Graphical
80       index | Full index
81
82       © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
83
84
85
86GRASS 8.2.1                                                  v.db.droptable(1)
Impressum