添加到SQLite表中的列的Andr​​oid?SQLite、Andr、oid

2023-09-06 17:24:32 作者:乱心少年

我想另一列添加到表中我现有的SQLite数据库。

I would like to add another column to a table in my existing SQLite database.

这是可能的,或者是有我需要做的升级一些具体的事情?

Is this possible, or is there something specific I need to do to upgrade it?

如果是这样,我怎么去这样做?

If so, how do I go about doing this?

推荐答案

使用 ALTER TABLE 命令:

ALTER TABLE my_table
    ADD COLUMN new_column;