|
NAMEdb.columns - List all columns for a given table.KEYWORDSdatabase, attribute tableSYNOPSISdb.columnsdb.columns --help db.columns table=name [driver=name] [database=name] [--help] [--verbose] [--quiet] [--ui] Flags:
Parameters:
DESCRIPTIONdb.columns lists all columns for a give table. Connection to databases are supported through dbf, shp, odbc and pg drivers.NOTEIf 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.EXAMPLESList columns of a PostgreSQL attribute tabledb.columns table=zipcodes_wake driver=pg database=grassdb If the database parameters are already set, the columns can be
listed directly
db.columns table=zipcodes_wake List columns from Shape file with DBF attribute tabledb.columns table=zipcodes_wake driver=dbf database=/grassdata/nc_spm_08/PERMANENT/dbf/ List columns of table in SQLite databaseNote that the SQLite backend is the default setting.db.columns driver=sqlite table=archsites database=’$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db’ SEE ALSOdb.connect, db.describe, db.drivers, db.droptable, db.execute, db.login, db.tables, GRASS SQL interfaceGRASS SQL interface AUTHORRadim Blazek, ITC-Irst, Trento, ItalySOURCE CODEAvailable at: db.columns source code (history)Main index | Database index | Topics index | Keywords index | Graphical index | Full index © 2003-2021 GRASS Development Team, GRASS GIS 7.8.6 Reference Manual
Visit the GSP FreeBSD Man Page Interface. |