标签:style color ar line size sql ad on
sqlite删除字段时提示附近有语法错误,怎么解决呢?sqlite中ALTER TABLE语句不支持DROP COLUMN,只有RENAME 和ADD
解决办法:
select * from _temp;
2.删除原表
drop table person;
3.把临时表命名成原表
alter table _temp rename to person;sqlite删除字段办法 near 'drop':syntax error;,布布扣,bubuko.com
sqlite删除字段办法 near 'drop':syntax error;
标签:style color ar line size sql ad on
原文地址:http://blog.csdn.net/hellwordn/article/details/38581755