[android-developers] Re: rename column sqlite database

2009-10-12 Thread Marco Nelissen
You could also just add "id AS _id" to your query, and that way you won't have to process the downloaded database at all, you'll just do it as part of your queries. On Mon, Oct 12, 2009 at 8:26 AM, Wouter wrote: > > It is an sqlite database but don't now why it has no _id but id (for > iPhone?

[android-developers] Re: rename column sqlite database

2009-10-12 Thread Wouter
It is an sqlite database but don't now why it has no _id but id (for iPhone? ) Ok i will try your sample code! Thanks, Wouter On 12 okt, 17:23, Marco Nelissen wrote: > On Mon, Oct 12, 2009 at 8:12 AM, Wouter wrote: > > > Hey, > > > I have a database that I download external and save on my sdca

[android-developers] Re: rename column sqlite database

2009-10-12 Thread Marco Nelissen
On Mon, Oct 12, 2009 at 8:12 AM, Wouter wrote: > > Hey, > > I have a database that I download external and save on my sdcard. > But this database is also used for an iPhone app and has a column id > and not _id (sqlite uses _id). > How can i rename this column to _id? So this is not a sqlite dat