当前位置:首页 > 数据库 > SQlite

sqlite中的自增主键

and use

 INSERT INTO people (first_name, last_name) VALUES ("John", "Smith");

instead. The first version is very fragile — if you ever add, move, or delete columns in your table definition the INSERT will either fail or produce incorrect data (with the values in the wrong columns).

 

https://www.sqlite.org/autoinc.html

 

sqlite中的自增主键

标签:

本文系统来源:http://www.cnblogs.com/chucklu/p/5899878.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!