1db.tables(1)                GRASS GIS User's Manual               db.tables(1)
2
3
4

NAME

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

KEYWORDS

9       database, attribute table
10

SYNOPSIS

12       db.tables
13       db.tables --help
14       db.tables  [-ps]   [driver=name]    [database=name]   [--help]  [--ver‐
15       bose]  [--quiet]  [--ui]
16
17   Flags:
18       -p
19           Print tables and exit
20
21       -s
22           System tables instead of user tables
23
24       --help
25           Print usage summary
26
27       --verbose
28           Verbose module output
29
30       --quiet
31           Quiet module output
32
33       --ui
34           Force launching GUI dialog
35
36   Parameters:
37       driver=name
38           Name of database driver
39           Options: dbf, mesql, mysql, odbc, ogr, pg, sqlite
40           Default: sqlite
41
42       database=name
43           Name of database
44           Default: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db
45

DESCRIPTION

47       db.tables lists all tables for a given database.
48

NOTE

50       If parameters for database connection are already set with  db.connect,
51       they  are  taken  as default values and do not need to be spcified each
52       time.
53

EXAMPLES

55   List all tables if database connection is already set
56       db.tables -p
57
58   List all DBF tables
59       db.tables driver=dbf database=/grassdata/nc_spm_08/user1/PERMANENT/dbf
60
61   List all tables in SQLite database (note that this is the default setting)
62       db.tables -p driver=sqlite database=’$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db’
63

SEE ALSO

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

AUTHOR

68       Unknown
69

SOURCE CODE

71       Available at: db.tables source code (history)
72
73       Main index | Database index | Topics index | Keywords index | Graphical
74       index | Full index
75
76       © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
77
78
79
80GRASS 7.8.5                                                       db.tables(1)
Impressum