db.droptable.html 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <h2>DESCRIPTION</h2>
  2. <em>db.droptable</em> drops an attribute table.
  3. If the <b>-f</b> force flag is not given then nothing is removed, instead
  4. a preview of the action to be taken is printed.
  5. <h2>NOTES</h2>
  6. <em>db.droptable</em> is a front-end to <em>db.execute</em> to allow easier
  7. usage. To some extent it is verified if the table is connected to a vector map
  8. to avoid accidential table removal.
  9. <h2>EXAMPLE</h2>
  10. Removing an attribute table:
  11. <p><div class="code"><pre>
  12. # show available tables
  13. db.tables -p
  14. # this will show what would happen
  15. db.droptable table=sometable
  16. # actually drop the table
  17. db.droptable -f sometable
  18. </pre></div>
  19. <h2>SEE ALSO</h2>
  20. <em>
  21. <a href="db.describe.html">db.describe</a>,
  22. <a href="db.droptable.html">db.droptable</a>,
  23. <a href="db.execute.html">db.execute</a>,
  24. <a href="db.login.html">db.login</a>,
  25. <a href="db.tables.html">db.tables</a>,
  26. <a href="v.db.droptable.html">v.db.droptable</a>,
  27. <a href="sql.html">GRASS SQL interface</a>
  28. </em>
  29. <h2>AUTHOR</h2>
  30. Markus Neteler
  31. <p><i>Last changed: $Date$</i>