[GRASS-user] Change SQLite DB Column Width?

Markus Neteler neteler at osgeo.org
Fri Aug 4 00:53:35 PDT 2017


On Aug 4, 2017 9:41 AM, "Vincent Bain" <bain at toraval.fr> wrote:
>
> Le vendredi 04 août 2017 à 01:32 -0600, Jeshua Lacock a écrit :
>
> > Will I have to use SQLite to do it? I’ve never actually used it
directly before, so any examples would be greatly appreciated!
>
> you can either operate from an sqlite3 session, or use the grass builtin
> command db.execute.  In your case, it would look like this:
>
>         db.execute sql='update my_table set
>         my_new_column=my_former_column'
>

In addition, this module should do the job as well:
https://grass.osgeo.org/grass72/manuals/v.db.update.html

Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170804/91293b6f/attachment.html>


More information about the grass-user mailing list