|
NAMEdb.droptable - Drops an attribute table. KEYWORDSdatabase, attribute table SYNOPSISdb.droptable
Flags:Parameters:
DESCRIPTIONdb.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. NOTESdb.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 accidental table removal. EXAMPLESRemoving an attribute table from default database# show default database db.connect -p # show available tables db.tables -p # this will show what would happen db.droptable table=sometable # actually drop the table db.droptable -f table=sometable Removing an attribute table from given databasedb.droptable allows defining optionally driver and
database options different from default connection settings
(db.connect -p).
# drop the table from SQLite database db.droptable -f table=sometable driver=sqlite database=/opt/sqlite.db SEE ALSOdb.dropdb, db.dropcolumn, db.execute, db.login, db.connect, db.tables, db.describe, v.db.droptable, GRASS SQL interface AUTHORSMarkus Neteler
SOURCE CODEAvailable at: db.droptable source code (history) Latest change: Tuesday Dec 17 20:17:20 2024 in commit: d962e90c026708a4815ea2b9f46c0e84c17de22d Main index | Database index | Topics index | Keywords index | Graphical index | Full index © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
|