.TH db.tables 1grass "" "GRASS 6.4.2" "Grass User's Manual" .SH NAME \fI\fBdb.tables\fR\fR - Lists all tables for a given database. .SH KEYWORDS database, attribute table .SH SYNOPSIS \fBdb.tables\fR .br \fBdb.tables help\fR .br \fBdb.tables\fR [-\fBps\fR] [\fBdriver\fR=\fIname\fR] [\fBdatabase\fR=\fIname\fR] [--\fBverbose\fR] [--\fBquiet\fR] .SS Flags: .IP "\fB-p\fR" 4m .br Print tables and exit .IP "\fB-s\fR" 4m .br System tables instead of user tables .IP "\fB--verbose\fR" 4m .br Verbose module output .IP "\fB--quiet\fR" 4m .br Quiet module output .PP .SS Parameters: .IP "\fBdriver\fR=\fIname\fR" 4m .br Driver name .br Options: \fIpg,dbf,ogr,odbc,mysql,sqlite\fR .br Default: \fIdbf\fR .IP "\fBdatabase\fR=\fIname\fR" 4m .br Database name .br Default: \fI$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/\fR .PP .SH DESCRIPTION \fIdb.tables\fR lists all tables for a given database. .SH NOTE If parameters for database connection are already set with db.connect, they are taken as default values and do not need to be spcified each time. .SH EXAMPLES \fIList all tables if database connection is already set\fR .br \fC .DS .br db.tables -p .br .DE \fR .PP \fIList all tables of existing dbf database\fR .br \fC .DS .br db.tables driver=dbf database=/home/user/grassdata/fire/PERMANENT/dbf .br .DE \fR .SH SEE ALSO \fIdb.columns, db.droptable, db.login, db.execute, GRASS SQL interface\fR .SH AUTHOR ? .PP \fILast changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $\fR .PP Full index .PP © 2003-2011 GRASS Development Team