Hello , I want to create a table whose primary key will  be some
other field and not _id . The below table gets created but the value
of _id remains null  :

"create table accounts ("+BaseColumns._ID+" integer , profile_name
text primary key"
                    +" name text not null);";

My doubt is wont _id get auto incremented if we do not place
"+BaseColumns._ID integer primary key autoincrement+" .

Kindly assist .

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to