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#column-constraint but that did not work either. Without AUTO_INCREMENT my table can be created.
An error occurred: near 'AUTO_INCREMENT': syntax error CREATE TABLE fileInfo ( fileId int NOT NULL AUTO_INCREMENT, name varchar(255), status int NOT NULL, PRIMARY KEY (fileId) );
This is addressed in the SQLite FAQ. Question #1.
Which states: