[GRASSLIST:675] Re: borehole database question
Massimiliano Cannata
massimiliano.cannata at supsi.ch
Wed Apr 12 04:54:34 EDT 2006
no matter where the table reside....
just set appropriate parameters.... (db.connect)
and run your query (db.execute)...
Maxi
Patricio Antonio Toledo Peña wrote:
> my only answer wuold be a script,
> - reading the answer of d.what.vect and set the point cat in a
> variable
> (ID=1)
> - run a query..... echo "SELECT * from logtable where id=$ID" |
> db.select
>
>
> but, how do i connect the logtable if it is on a external server?
> do i have to import it? do i have to connect it? how do i connect it, if
> it has no geographic atributtes? should i have to put all the information
> on a single table?
>
> --
> Patricio Toledo Peña
> Dpto. de Geofísica - Universidad de Chile
> Blanco Encalada 2002-Casilla 2777
> Santiago-Chile
--
Eng. Massimiliano Cannata
Scuola Universitaria Professionale della Svizzera Italiana
Istituto Scienze della Terra
Via Trevano, c.p. 72
CH-6952 Canobbio-Lugano
Tel: +41 (0)58 666 62 18
Fax +41 (0)58 666 62 09
More information about the grass-user
mailing list