EnglishFrenchSpanish

Ad


OnWorks favicon

db.droptablegrass - Online in the Cloud

Run db.droptablegrass in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command db.droptablegrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


db.droptable - Drops an attribute table.

KEYWORDS


database, attribute table

SYNOPSIS


db.droptable
db.droptable --help
db.droptable [-f] [driver=name] [database=name] table=name [--help] [--verbose]
[--quiet] [--ui]

Flags:
-f
Force removal (required for actual deletion of files)

--help
Print usage summary

--verbose
Verbose module output

--quiet
Quiet module output

--ui
Force launching GUI dialog

Parameters:
driver=name
Name of database driver
If not given then default driver is used

database=name
Name of database
If not given then default database is used

table=name [required]
Name of 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.

EXAMPLES


Removing 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 database
db.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

Use db.droptablegrass online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad