[GRASS-SVN] r48064 - grass/trunk/scripts/db.droptable

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 2 10:24:58 EDT 2011


Author: neteler
Date: 2011-09-02 07:24:58 -0700 (Fri, 02 Sep 2011)
New Revision: 48064

Modified:
   grass/trunk/scripts/db.droptable/db.droptable.html
Log:
prettified

Modified: grass/trunk/scripts/db.droptable/db.droptable.html
===================================================================
--- grass/trunk/scripts/db.droptable/db.droptable.html	2011-09-02 14:19:41 UTC (rev 48063)
+++ grass/trunk/scripts/db.droptable/db.droptable.html	2011-09-02 14:24:58 UTC (rev 48064)
@@ -7,29 +7,35 @@
 <h2>NOTES</h2>
 
 <em>db.droptable</em> is a front-end to <em>db.execute</em> to allow easier
-usage. To some extent it is verified if the table is connected to a vector map.
+usage. To some extent it is verified if the table is connected to a vector map
+to avoid accidential table removal.
 
-<h2>EXAMPLES</h2>
+<h2>EXAMPLE</h2>
 
-Dropping a table (Spearfish):
-<p>
+Remove an attribute table:<br>
+
 <div class="code"><pre>
-# work on own copy
-g.copy vect=roads,myroads
+# show available tables
+db.tables -p
 
-# only shows what would happen
-db.droptable myroads
+# this will show what would happen
+db.droptable table=sometable
 
 # actually drop the table
-db.droptable -f myroads
-
-db.tables -p
+db.droptable -f sometable
 </pre></div>
 
 <h2>SEE ALSO</h2>
 
-<em><a HREF="db.execute.html">db.execute</a></em>,
-<em><a HREF="v.db.droptable.html">v.db.droptable</a></em>
+<em>
+<a HREF="db.describe.html">db.describe</a>,
+<a HREF="db.droptable.html">db.droptable</a>,
+<a HREF="db.execute.html">db.execute</a>,
+<a HREF="db.login.html">db.login</a>,
+<a HREF="db.tables.html">db.tables</a>,
+<a HREF="v.db.droptable.html">v.db.droptable</a>,
+<a HREF="sql.html">GRASS SQL interface</a>
+</em>
 
 <h2>AUTHOR</h2>
 



More information about the grass-commit mailing list