v.db.droptable.html 1.0 KB

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