Create a primary key with autoincrement in Symbian DBMS
1 2 CREATE TABLE person (id COUNTER, name VARCHAR) 3 CREATE UNIQUE INDEX id_index ON person(id)
COUNTER is UNSIGNED INTEGER with Autoincrement.
You still need a UNIQUE INDEX as well.
DZone Snippets > korakot > primary
12723 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Korakot Chaovavanich http://korakot.stumbleupon.com
1 2 CREATE TABLE person (id COUNTER, name VARCHAR) 3 CREATE UNIQUE INDEX id_index ON person(id)