• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps SQLite Table primary key

What kind of arguments can be the primary key of sqlite database table? Does it need to be an integer argument with name "_id" with auto increment, or can I choose some other names, and types for that?
 
As far as I know, you can make any column name a primary key, and it does not have to be auto increment. But having it as _id with auto increment does have it's advantageous, like most of androids list adapters expect a column with that name to work properly.
 
Back
Top Bottom