AUTO_INCREMENT in sqlite problem with python

前端 未结 4 897
执笔经年
执笔经年 2020-12-29 08:57

I am using sqlite with python 2.5. I get a sqlite error with the syntax below. I looked around and saw AUTOINCREMENT on this page http://www.sqlite.org/syntaxdiagrams.html#c

4条回答
  •  春和景丽
    2020-12-29 09:08

    It looks like AUTO_INCREMENT should be AUTOINCREMENT see http://www.sqlite.org/syntaxdiagrams.html#column-constraint

提交回复
热议问题