.TH db.tables 1grass "" "GRASS 8.3.2" "GRASS GIS 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] [\-\-\fBhelp\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] [\-\-\fBui\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\-\-help\fR" 4m .br Print usage summary .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .IP "\fB\-\-ui\fR" 4m .br Force launching GUI dialog .SS Parameters: .IP "\fBdriver\fR=\fIname\fR" 4m .br Name of database driver .br Options: \fIdbf, mysql, odbc, ogr, pg, sqlite\fR .br Default: \fIsqlite\fR .IP "\fBdatabase\fR=\fIname\fR" 4m .br Name of database .br Default: \fI$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db\fR .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 .SS List all tables if database connection is already set .br .nf \fC db.tables \-p \fR .fi .SS List all DBF tables .br .nf \fC db.tables driver=dbf database=/grassdata/nc_spm_08/user1/PERMANENT/dbf \fR .fi .SS List all tables in SQLite database (note that this is the default setting) .br .nf \fC db.tables \-p driver=sqlite database=\(cq$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db\(cq \fR .fi .SH SEE ALSO \fI db.columns, db.droptable, db.login, db.execute, GRASS SQL interface \fR .SH AUTHOR Unknown .SH SOURCE CODE .PP Available at: db.tables source code (history) .PP Accessed: Friday Mar 08 07:34:14 2024 .PP Main index | Database index | Topics index | Keywords index | Graphical index | Full index .PP © 2003\-2024 GRASS Development Team, GRASS GIS 8.3.2 Reference Manual