<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>GRASS GIS: v.db.dropcol</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.dropcol</b></em> - Drops a column from the attribute table connected to a given vector map. <h2>KEYWORDS</h2> vector, database, attribute table <h2>SYNOPSIS</h2> <b>v.db.dropcol</b><br> <b>v.db.dropcol help</b><br> <b>v.db.dropcol</b> <b>map</b>=<em>name</em> [<b>layer</b>=<em>integer</em>] <b>column</b>=<em>string</em> [--<b>verbose</b>] [--<b>quiet</b>] <h3>Parameters:</h3> <DL> <DT><b>map</b>=<em>name</em></DT> <DD>Vector map for which to drop attribute column</DD> <DT><b>layer</b>=<em>integer</em></DT> <DD>Layer where to drop column</DD> <DD>Default: <em>1</em></DD> <DT><b>column</b>=<em>string</em></DT> <DD>Name of the column</DD> </DL> <h2>DESCRIPTION</h2> <em>v.db.dropcol</em> drops a column from the attribute table connected to a given vector map. It automatically checks the connection for the specified layer. <em>v.db.dropcol</em> omits to delete the 'cat' column which is relevant to keep the connection between vector map and table. <h2>NOTES</h2> v.db.dropcol 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>EXAMPLES</h2> Dropping a column:<br> <div class="code"><pre> v.db.dropcol sentiero_brenta_points column=slope v.info -c 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.droptable.html">v.db.droptable</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-02-05 14:12:48 +0100 (Mon, 05 Feb 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>