v.db.droptable(1) - Linux man page

Name

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

Keywords

vector, database, attribute table

Synopsis

v.db.droptable
v.db.droptable help
v.db.droptable
[-f] map=string [table=string] [layer=integer] [--verbose] [--quiet]

Flags:

-f
Force removal (required for actual deletion of table)
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

map=string
Vector map from which to remove attribute table
table=string
Name of existing attribute table (default: vector map name)
layer=integer
Layer from which to drop linked attribute table
Default: 1

Description

v.db.droptable removes an existing attribute table from a given vector map linked at given layer. If the -f force flag is not given then nothing is removed.

Notes

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

Example

Removing attribute table connected to layer 2:

v.db.droptable sentiero_brenta_points layer=2
v.db.connect -p sentiero_brenta_points

See Also

db.execute, v.db.addcol, v.db.addtable, v.db.connect, v.db.dropcol, v.db.select, v.db.update

Author

Markus Neteler

Last changed: $Date: 2007-05-09 22:10:56 +0200 (Wed, 09 May 2007) $

Full index

© 2003-2008 GRASS Development Team