I have create a table in sqlite.
there is two fields pk_categoryid
,category_name
.
I want to enter only one value from user side.
so how can I create sequence
views:
356answers:
2
+2
A:
If you mean that you want the primary key to be autogenerated, then look at AUTOINCREMENT
when creating your table:
Lasse V. Karlsen
2010-05-12 08:21:52
A:
create table Categories (pk_categoryid integer primary key autoincrement, category_name text);
My Other Me
2010-05-13 05:57:00