NAME
db.dropdb - Removes an existing database.
KEYWORDS
database,
attribute table,
SQL
SYNOPSIS
db.dropdb
db.dropdb --help
db.dropdb driver=name database=name [--help] [--verbose] [--quiet] [--ui]
Flags:
- --help
- Print usage summary
- --verbose
- Verbose module output
- --quiet
- Quiet module output
- --ui
- Force launching GUI dialog
Parameters:
- driver=name [required]
- Name of database driver
- Options: dbf, odbc, ogr, pg, sqlite
- Default: sqlite
- database=name [required]
- Name of database
db.dropdb removes an existing database using given database
driver. Currently only
SQLite
and
PostgreSQL database drivers are
supported.
Note that the standard GRASS GIS SQLite database is by default
found in the user's current mapset. This example shows an
out-of-mapset database removal:
db.dropdb driver=sqlite database=/opt/sqlite.db
db.dropdb driver=pg database=grassdb
Support other database drivers, too.
db.createdb,
db.describe,
db.droptable,
db.execute,
db.login,
db.tables
GRASS SQL interface
Radim Blazek, ITC-Irst, Trento, Italy
SQLite and PostgreSQL support by Martin Landa, Czech Technical University in Prague, Czech Republic
SOURCE CODE
Available at:
db.dropdb source code
(history)
Latest change: Saturday Aug 27 12:12:23 2022 in commit: 40b598233c196df1c08a6222da24f2307841d1c5
Main index |
Database index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2022
GRASS Development Team,
GRASS GIS 8.3.dev Reference Manual