比如已经创建好一个表 表名为“28165“ 复制这个表。 CREATE TABLE [33150] AS SELECT * FROM [28165] sqlite复制一张表并重命名标签:本文系统来源:http://www.cnblogs.com/caianhua/p/4496283.html
bitsCN.com 今天在SQLite数据库中添加了一列,后来发现列名写错了,于是使用SQL语句来修改列名,可是根本不管用。 首先,请放弃alter吧。 sqlite官方说明如下: SQLite supports a limited subset of ALTER TABLE. The ALTER TABLE command in SQLite allows the user to rename a table or to add a new column to an existing table. It is not possible to rename a column, remove a column, or add or remove constraints f...