On Tue, Jul 14, 2009 at 6:17 PM, Mark Murphy<[email protected]> wrote:
>
> Kumaravel Kandasami wrote:
>>  How to drop a database in Android SDK?
>
> AFAIK, you don't drop a database. At most, you delete its file.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, $35/Year
>
> >
>

Never did it with android.
But with sqlite goes like this:

sqlite> create table a(int a);
sqlite> insert into a values (1);
sqlite> insert into a values (2);
sqlite> insert into a values (3);
sqlite> select count(*) from a;
3
sqlite> delete from a;
sqlite> select count(*) from a;
0

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to