[GRASSLIST:8198] Re: Syntax for v.db.addcol?

Michael Barton michael.barton at asu.edu
Wed Sep 7 12:23:53 EDT 2005


It is Colour varchar(#n)

where #n is an integer defining the length of the string variable

e.g., Colour varchar(10) creates a string character named Colour that is 10
characters long.

Michael
______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton



From: "Patton, Eric" <epatton at nrcan.gc.ca>
Date: Tue, 6 Sep 2005 15:30:40 -0300
To: "'GRASSList (GRASSLIST at baylor.edu)'" <GRASSLIST at baylor.edu>
Subject: [GRASSLIST:8184] Syntax for v.db.addcol?

I was wondering what syntax the program expects for this to work. I'm using
the GUI version of v.db.addcol in WinGrass 6.1 cvs-5, the Sept. 5th binary
from Cho's site. 
The program asks for the name and type for the new column to be added to the
database, but I can't seem to stumble on the correct syntax for it.
 
I've tried: 
a) Colour,VARCHAR
b) Colour"VARCHAR"
c)"Colour"VARCHAR
d)"Colour",VARCHAR
 
Any ideas?
 
 
 
~ Eric.
 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Eric Patton
 
Technologist, Geo-Spatial Data Services
Geological Survey of Canada (Atlantic)
Natural Resources Canada
Bedford Institute of Oceanography
Dartmouth, Nova Scotia, Canada B2Y 4A2
 
Postal address: P.O. Box 1006
Courier address: 1 Challenger Drive
 
Telephone: (902)426-7732
Facsimile:  (902)426-4104
E-mail:       epatton at NRCan.gc.ca <mailto:epatton at NRCan.gc.ca>
 
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20050907/e8014a6e/attachment.html


More information about the grass-user mailing list