---
name: "topic_attribute_table"
section: "1grass"
platform: "linux"
package: "grass-doc"
version: "8.4.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/topic_attribute_table"
---

# topic\_attribute\_table(1grass)

## Topic: attribute table

| | | |
| --- | --- | --- |
| db.columns |  | List all columns for a given table. |
| db.connect |  | Prints/sets general DB connection for current mapset. |
| db.copy |  | Copy a table. |
| db.createdb |  | Creates an empty database. |
| db.databases |  | Lists all databases for a given driver and location. |
| db.describe |  | Describes a table in detail. |
| db.dropcolumn |  | Drops a column from selected attribute table. |
| db.dropdb |  | Removes an existing database. |
| db.droptable |  | Drops an attribute table. |
| db.execute |  | Executes any SQL statement. |
| db.select |  | Selects data from attribute table. |
| db.tables |  | Lists all tables for a given database. |
| db.test |  | Test database driver, database must exist and set by db.connect. |
| t.vect.db.select |  | Prints attributes of vector maps registered in a space time vector dataset. |
| v.db.addcolumn |  | Adds one or more columns to the attribute table connected to a given vector map. |
| v.db.addtable |  | Creates and connects a new attribute table to a given layer of an existing vector map. |
| v.db.connect |  | Prints/sets DB connection for a vector map to attribute table. |
| v.db.dropcolumn |  | Drops a column from the attribute table connected to a given vector map. |
| v.db.droprow |  | Removes a vector feature from a vector map through attribute selection. |
| v.db.droptable |  | Removes existing attribute table of a vector map. |
| v.db.join |  | Joins a database table to a vector map table. |
| v.db.reconnect.all |  | Reconnects attribute tables for all vector maps from the current mapset to a new database. |
| v.db.renamecolumn |  | Renames a column in the attribute table connected to a given vector map. |
| v.db.select |  | Prints vector map attributes. |
| v.db.update |  | Updates a column in the attribute table connected to a vector map. |
| v.to.db |  | Populates attribute values from vector features. |
| v.vect.stats |  | Count points in areas, calculate statistics from point attributes. |

*See also the corresponding keyword attribute table for additional references.*

Main index \| Topics index \| Keywords index \| Graphical index \| Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
