[GRASS-SVN] r30601 - grass/trunk/scripts/v.db.renamecol
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Mar 17 10:23:52 EDT 2008
Author: epatton
Date: 2008-03-17 10:23:52 -0400 (Mon, 17 Mar 2008)
New Revision: 30601
Modified:
grass/trunk/scripts/v.db.renamecol/description.html
Log:
Added notes about attempting a case-only column rename with SQLite driver
Modified: grass/trunk/scripts/v.db.renamecol/description.html
===================================================================
--- grass/trunk/scripts/v.db.renamecol/description.html 2008-03-17 14:13:36 UTC (rev 30600)
+++ grass/trunk/scripts/v.db.renamecol/description.html 2008-03-17 14:23:52 UTC (rev 30601)
@@ -12,9 +12,16 @@
as DBF or SQLite do not support "ALTER TABLE" command to rename columns. Due to
this the renamed column is found as last column of the table, it's original position
cannot be maintained.
+
<p>
+The SQLite driver will exit with an error if the column rename involves only a change of
+case, i.e., upper-to-lowercase, or lower-to-uppercase. The SQLite protocol considers "NAME"
+and "name" to be identical column names. In cases like these, the user should rename the original
+column to an intermediary name, then rename the intermediary to the final name.
+<p>
+
<h2>EXAMPLES</h2>
Renaming a column:<br>
More information about the grass-commit
mailing list