sql - auto increment option error in sqlite3 -


create table filemanager(oid auto_increment int primary key,filepath text unique); insert filemanager(filepath)values("c:\a.txt") select *from filemanager 

output: |c:\a.txt

kindly let me know missing here.thanks

http://sqlite.org/autoinc.html

correct create command is:

create table filemanager (   oid integer primary key autoincrement,   filepath text unique); 

Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -