<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>GRASS GIS: v.db.droptable</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="grassdocs.css" type="text/css"> </head> <body bgcolor="white"> <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade> <h2>NAME</h2> <em><b>v.db.droptable</b></em> - Removes existing attribute table of a vector map. <h2>KEYWORDS</h2> vector, database, attribute table <h2>SYNOPSIS</h2> <b>v.db.droptable</b><br> <b>v.db.droptable help</b><br> <b>v.db.droptable</b> [-<b>f</b>] <b>map</b>=<em>string</em> [<b>table</b>=<em>string</em>] [<b>layer</b>=<em>integer</em>] [--<b>verbose</b>] [--<b>quiet</b>] <h3>Flags:</h3> <DL> <DT><b>-f</b></DT> <DD>Force removal (required for actual deletion of table)</DD> <DT><b>--verbose</b></DT> <DD>Verbose module output</DD> <DT><b>--quiet</b></DT> <DD>Quiet module output</DD> </DL> <h3>Parameters:</h3> <DL> <DT><b>map</b>=<em>string</em></DT> <DD>Vector map from which to remove attribute table</DD> <DT><b>table</b>=<em>string</em></DT> <DD>Name of existing attribute table (default: vector map name)</DD> <DT><b>layer</b>=<em>integer</em></DT> <DD>Layer from which to drop linked attribute table</DD> <DD>Default: <em>1</em></DD> </DL> <h2>DESCRIPTION</h2> <em>v.db.droptable</em> removes an existing attribute table from a given vector map linked at given layer. If the <b>-f</b> force flag is not given then nothing is removed. <h2>NOTES</h2> <em>v.db.droptable</em> is a front-end to <em>db.execute</em> to allow easier usage. The existing database connection(s) can be verified with <em>v.db.connect</em>. <h2>EXAMPLE</h2> Removing attribute table connected to layer 2:<br> <div class="code"><pre> v.db.droptable sentiero_brenta_points layer=2 v.db.connect -p sentiero_brenta_points </pre></div> <h2>SEE ALSO</h2> <em><a HREF="db.execute.html">db.execute</a></em>, <em><a HREF="v.db.addcol.html">v.db.addcol</a></em>, <em><a HREF="v.db.addtable.html">v.db.addtable</a></em>, <em><a HREF="v.db.connect.html">v.db.connect</a></em>, <em><a HREF="v.db.dropcol.html">v.db.dropcol</a></em>, <em><a HREF="v.db.select.html">v.db.select</a></em>, <em><a HREF="v.db.update.html">v.db.update</a></em> <h2>AUTHOR</h2> Markus Neteler <p><i>Last changed: $Date: 2007-05-09 22:10:56 +0200 (Wed, 09 May 2007) $</i> <HR> <P><a href="index.html">Main index</a> - <a href="vector.html">vector index</a> - <a href="full_index.html">Full index</a></P> <P>© 2003-2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></p> </body> </html>