| 1 |
<h2>DESCRIPTION</h2> |
| 2 |
|
| 3 |
<em>v.db.droptable</em> removes an existing attribute table from a |
| 4 |
given vector map linked at given layer. If the <b>-f</b> force flag is not |
| 5 |
given then nothing is removed. |
| 6 |
|
| 7 |
<h2>NOTES</h2> |
| 8 |
|
| 9 |
<em>v.db.droptable</em> is a front-end to <em>db.execute</em> to allow easier usage. |
| 10 |
<p>The existing database connection(s) can be verified with <em>v.db.connect</em>. |
| 11 |
|
| 12 |
<h2>EXAMPLE</h2> |
| 13 |
|
| 14 |
Removing attribute table connected to layer 1:<br> |
| 15 |
<div class="code"><pre> |
| 16 |
g.copy vect=roadsmajor,myroads |
| 17 |
v.db.droptable myroads |
| 18 |
v.db.droptable myroads -f |
| 19 |
v.db.connect -p myroads |
| 20 |
</pre></div> |
| 21 |
|
| 22 |
<h2>SEE ALSO</h2> |
| 23 |
|
| 24 |
<em> |
| 25 |
<a href="db.connect.html">db.connect</a>, |
| 26 |
<a href="db.execute.html">db.execute</a>, |
| 27 |
<a href="v.db.addtable.html">v.db.addtable</a>, |
| 28 |
<a href="v.db.connect.html">v.db.connect</a>, |
| 29 |
<a href="v.db.dropcolumn.html">v.db.dropcolumn</a>, |
| 30 |
<a href="v.db.select.html">v.db.select</a>, |
| 31 |
<a href="v.db.update.html">v.db.update</a> |
| 32 |
</em> |
| 33 |
|
| 34 |
<p> |
| 35 |
<em> |
| 36 |
<a href="sql.html">GRASS SQL interface</a> |
| 37 |
</em> |
| 38 |
|
| 39 |
<h2>AUTHOR</h2> |
| 40 |
|
| 41 |
Markus Neteler |