db.tables

Langue: en

Autres versions - même langue

Version: 372588 (fedora - 01/12/10)

Section: 1 (Commandes utilisateur)

NAME

db.tables - Lists all tables for a given database.

KEYWORDS

database, SQL

SYNOPSIS

db.tables
db.tables help
db.tables [-ps] [driver=name] [database=name] [--verbose] [--quiet]

Flags:

-p

Print tables and exit
-s

System tables instead of user tables
--verbose

Verbose module output
--quiet

Quiet module output

Parameters:

driver=name

Driver name
Options: ogr,dbf,odbc,pg,mysql,sqlite,mesql
Default: dbf
database=name

Database name
Default: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/

DESCRIPTION

db.tables lists all tables for a given database.

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.

EXAMPLES

List all tables if database connection is already set

db.tables -p

List all tables of existing dbf database

db.tables driver=dbf database=/home/user/grassdata/fire/PERMANENT/dbf

SEE ALSO

db.columns, db.droptable, db.login, db.execute, GRASS SQL interface

AUTHOR

?

Last changed: $Date: 2005-12-10 18:49:50 +0100 (Sat, 10 Dec 2005) $

Full index

© 2003-2008 GRASS Development Team