.TH db.dropcol 1grass "" "GRASS 6.4.4" "Grass User's Manual" .SH NAME \fI\fBdb.dropcol\fR\fR - Drops a column from selected attribute table .SH KEYWORDS database, attribute table .SH SYNOPSIS \fBdb.dropcol\fR .br \fBdb.dropcol help\fR .br \fBdb.dropcol\fR [\-\fBf\fR] \fBtable\fR=\fIname\fR \fBcolumn\fR=\fIstring\fR [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] .SS Flags: .IP "\fB\-f\fR" 4m .br Force removal (required for actual deletion of files) .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .PP .SS Parameters: .IP "\fBtable\fR=\fIname\fR" 4m .br Table from which to drop attribute column .IP "\fBcolumn\fR=\fIstring\fR" 4m .br Name of the column .PP .SH DESCRIPTION \fIdb.dropcol\fR drops a column from an attribute table. If the \fB-f\fR force flag is not given then nothing is removed, instead a preview of the action to be taken is printed. .SH NOTES \fIdb.dropcol\fR is a front-end to \fIdb.execute\fR to allow easier usage with a special workaround for the SQLite driver to support column drop. .SH EXAMPLES Dropping a column (Spearfish): .PP \fC .DS .br # work on own copy .br g.copy vect=roads,myroads .br db.describe \-c myroads .br .br # only shows what would happen: .br db.dropcol myroads column=label .br .br # actually drops the column .br db.dropcol \-f myroads column=label .br .br db.describe \-c myroads .br .DE \fR .SH SEE ALSO \fIdb.droptable\fR, \fIdb.execute\fR, \fIv.db.dropcol\fR .SH AUTHOR Markus Neteler .PP \fILast changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $\fR .PP Full index .PP © 2003-2014 GRASS Development Team