1db.tables(1) Grass User's Manual db.tables(1)
2
3
4
6 db.tables - Lists all tables for a given database.
7
9 database, attribute table
10
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
47 db.tables lists all tables for a given database.
48
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
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
65 db.columns, db.droptable, db.login, db.execute, GRASS SQL interface
66
68 Unknown
69
70 Last changed: $Date: 2014-11-28 10:57:47 +0100 (Fri, 28 Nov 2014) $
71
73 Available at: db.tables source code (history)
74
75 Main index | Database index | Topics index | Keywords index | Graphical
76 index | Full index
77
78 © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
79
80
81
82GRASS 7.4.4 db.tables(1)