Scroll to navigation

db.droptable(1grass) Grass User's Manual db.droptable(1grass)

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 to avoid accidential table removal.

EXAMPLE

Removing an attribute table:
 
# show available tables
 
db.tables -p
 
 
# this will show what would happen
 
db.droptable table=sometable
 
 
# actually drop the table
 
db.droptable -f sometable
 

SEE ALSO

db.describe, db.droptable, db.execute, db.login, db.tables, v.db.droptable, GRASS SQL interface

AUTHOR

Markus Neteler
Last changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $
Full index
© 2003-2014 GRASS Development Team
GRASS 6.4.4