Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用以下代码创建了我的表:
create table tbl_questionnair(qid integer primary key autoincrement, title varchar, uid integer, superadminid integer,TIMESTAMP DEFAULT CURRENT_TIMESTAMP);
现在我想删除qid的自动增量。任何人都可以帮助我吗?
sqLite 不支持更改表,因此删除旧表并再次创建它
只需删除 qid 作为主键。
创建表 tbl_questionnair(qid integer, title varchar, uid integer, superadminid integer,TIMESTAMP DEFAULT CURRENT_TIMESTAMP);