[android-developers] Re: Newbie question about Content Provider

2012-01-20 Thread Lester Quintero
Hi, I see the example and I did not find where using insert - Select to put data into database. I assume then that this can not be done, as I searched many examples and have not found anything like. Thanks, for your help. On 20 ene, 06:02, Ricardo Santos ricardo.c.r.san...@gmail.com wrote:

[android-developers] Re: Newbie question about Content Provider

2012-01-20 Thread A. Elk
Are you talking about a content provider or an SQLite database? They aren't equivalent. A content provider *may* use an SQLite database as its database repository, but it doesn't have to, and you can't assume that it does. *If it's a content provider:* You can do an insert followed by a query.

[android-developers] Re: Newbie question about Content Provider

2012-01-20 Thread Lester Quintero
Hi, It's a Content Provider that use SQLite Database. I want pass data of one table to another with Insert-Select sintax and/or check that data not exist in second table. I Found that SQLite permit sintax: Insert into Table(t1, t2) Select tx, ty From Table --To insert select from one