[GRASS-user] Change SQLite DB Column Width?

Vincent Bain bain at toraval.fr
Fri Aug 4 00:41:07 PDT 2017


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'


V.



More information about the grass-user mailing list