DZone 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

Snippets has posted 5883 posts at DZone. View Full User Profile

Create A Primary Key With Autoincrement In Symbian DBMS

03.10.2006
| 7715 views |
  • submit to reddit
        
CREATE TABLE person (id COUNTER, name VARCHAR)
CREATE UNIQUE INDEX id_index ON person(id)
COUNTER is UNSIGNED INTEGER with Autoincrement.
You still need a UNIQUE INDEX as well.