## NAME

db.droptable

## 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) $

Main index - database index - Full index

© 2003-2011 GRASS Development Team