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 - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -