ОПИСАНИЕ
v.db.addcol adds one or more column(s) to the attribute table connected
to a given vector map. It automatically checks the connection for the specified
layer.
ПРИМЕЧАНИЯ
v.db.addcol is a front-end to db.execute to allow easier usage.
The supported types of columns depend on the database backend. However,
all backends should support VARCHAR, INT, DOUBLE/REAL and DATE. The default dbf backend
supports only these types.
The existing database connection(s) can be verified with v.db.connect.
ПРИМЕРЫ
Adding a single column:
v.db.addcol sentiero_brenta_points columns="slope double precision"
v.info -c sentiero_brenta_points
Adding two columns:
v.db.addcol sentiero_brenta_points columns="slope double precision,myname varchar(15)"
v.info -c sentiero_brenta_points
СМ. ТАКЖЕ
db.execute,
v.db.addtable,
v.db.connect,
v.db.dropcol,
v.db.droptable,
v.db.select,
v.db.update
АВТОР
Moritz Lennert (mlennert@club.worldonline.be)
Last changed: $Date: 2007-02-05 08:33:02 -0600 (Пн, 05 фев 2007) $
Автор перевода