SQLite Modify Column

后端 未结 4 1381
迷失自我
迷失自我 2020-12-02 22:26

I need to modify a column in a SQLite database but I have to do it programatically due to the database already being in production. From my research I have found that in or

4条回答
  •  醉梦人生
    2020-12-02 23:00

    As said here, these kind of features are not implemented by SQLite.

    As a side note, you could make your two first steps with a create table with select:

    CREATE TABLE tmp_table AS SELECT id, name FROM src_table
    

提交回复
热议问题