Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current manual page.

GRASS logo

GRASS GIS 6.5.svn Reference Manual

Geographic Resources Analysis Support System, commonly referred to as GRASS, is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies.

This reference manual details the use of modules distributed with Geographic Resources Analysis Support System (GRASS), an open source (GNU GPL'ed), image processing and geographic information system (GIS).

Go to database introduction

Go back to help overview


database commands:
db.columns List all columns for a given table.
db.connect Prints/sets general DB connection for current mapset and exits.
db.copy Copy a table.
db.describe Describes a table in detail.
db.drivers Lists all database drivers.
db.dropcol Drops a column from selected attribute table
db.droptable Drops an attribute table.
db.execute Executes any SQL statement.
db.in.ogr Imports attribute tables in various formats.
db.login Sets user/password for driver/database.
db.out.ogr Exports attribute tables into various formats.
db.select Selects data from attribute table (performs SQL query statement(s)).
db.tables Lists all tables for a given database.
db.test Test database driver, database must exist and set by db.connect.



Help Index | Full Index
© 2003-2014 GRASS Development Team, GRASS GIS 6.5.svn Reference Manual