On Dec 1, 2009, at 9:32 AM, dsukhram wrote:

> When I try to run the '.tables' command by doing the following:
> 
> SQLiteDatabase db = this.openOrCreateDatabase(DB_NAME, MODE_PRIVATE,
> null);
> db.execSQL(".tables");
> 

Try this:
db.execSQL("SELECT name FROM sqlite_master where type='table' and name NOT LIKE 
'sqlite_%';");


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

Reply via email to