~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to db/base/db.describe.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<h2>DESCRIPTION</h2>
2
 
 
3
 
<em>db.describe</em> displays table information. If parameter <b>-c</b> is used 
4
 
 only column names instead of full column descriptions is given. 
5
 
 
6
 
<h2>NOTE</h2>
7
 
 
8
 
If parameters for database connection are already set with 
9
 
<a href="db.connect.html">db.connect</a>, they are taken as default values and
10
 
do not need to be spcified each time.
11
 
 
12
 
<h2>EXAMPLE</h2>
13
 
 
14
 
<div class="code"><pre>
15
 
db.describe -c table=roads database='$GISDBASE/$LOCATION_NAME/PERMANENT/dbf/' \
16
 
            driver=dbf
17
 
ncols:2
18
 
Column 1:cat:INTEGER:11
19
 
Column 2:label:CHARACTER:43
20
 
</pre></div>
21
 
 
22
 
<div class="code"><pre>
23
 
db.describe table=roads database='$GISDBASE/$LOCATION_NAME/PERMANENT/dbf/' \
24
 
            driver=dbf
25
 
table:roads
26
 
description:
27
 
insert:yes
28
 
delete:yes
29
 
ncols:2
30
 
 
31
 
column:cat
32
 
description:
33
 
type:INTEGER
34
 
len:11
35
 
scale:0
36
 
precision:10
37
 
default:
38
 
nullok:yes
39
 
select:yes
40
 
update:yes
41
 
[...]
42
 
</pre></div>
43
 
 
44
 
<h2>SEE ALSO</h2>
45
 
 
46
 
<em>
47
 
<a href="db.columns.html">db.columns</a>,
48
 
<a href="db.droptable.html">db.droptable</a>,
49
 
<a href="db.execute.html">db.execute</a>,
50
 
<a href="db.login.html">db.login</a>,
51
 
<a href="db.tables.html">db.tables</a>,
52
 
<a href="sql.html">GRASS SQL interface</a></em>
53
 
 
54
 
<h2>AUTHOR</h2>
55
 
 
56
 
Radim Blazek, ITC-Irst, Trento, Italy
57
 
 
58
 
<p><i>Last changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $</i>