![GRASS logo](grass_logo.png)
NAME
db.droptable - Drops an attribute table
KEYWORDS
database, attribute table
SYNOPSIS
db.droptable
db.droptable help
db.droptable [-f] table=name [--verbose] [--quiet]
Flags:
- -f
- Force removal (required for actual deletion of files)
- --verbose
- Verbose module output
- --quiet
- Quiet module output
Parameters:
- table=name
- Table to drop
DESCRIPTION
db.droptable drops an attribute table.
If the -f force flag is not given then nothing is removed, instead
a preview of the action to be taken is printed.
NOTES
db.droptable is a front-end to db.execute to allow easier
usage. To some extent it is verified if the table is connected to a vector map.
EXAMPLES
Dropping a table (Spearfish):
# work on own copy
g.copy vect=roads,myroads
# only shows what would happen
db.droptable myroads
# actually drop the table
db.droptable -f myroads
db.tables -p
SEE ALSO
db.execute,
v.db.droptable
AUTHOR
Markus Neteler
Last changed: $Date: 2007-07-14 12:59:51 +0200 (Sat, 14 Jul 2007) $
Main index - database index - Full index
© 2003-2008 GRASS Development Team