1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
<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.
<p>The existing database connection(s) can be verified with <em>v.db.connect</em>.
<h2>EXAMPLE</h2>
Removing attribute table connected to layer 1:<br>
<div class="code"><pre>
g.copy vect=roadsmajor,myroads
v.db.droptable myroads
v.db.droptable myroads -f
v.db.connect -p myroads
</pre></div>
<h2>SEE ALSO</h2>
<em>
<a href="db.connect.html">db.connect</a>,
<a href="db.execute.html">db.execute</a>,
<a href="v.db.addtable.html">v.db.addtable</a>,
<a href="v.db.connect.html">v.db.connect</a>,
<a href="v.db.dropcolumn.html">v.db.dropcolumn</a>,
<a href="v.db.select.html">v.db.select</a>,
<a href="v.db.update.html">v.db.update</a>
</em>
<p>
<em>
<a href="sql.html">GRASS SQL interface</a>
</em>
<h2>AUTHOR</h2>
Markus Neteler
|