Skip to content Skip to sidebar Skip to footer

How To List The Table Name From Sqlite DB -- Android

I am new to android sqlite. i want to get list of table residing in one particular database. Is this possible in sqlite. Can anyone guide me on this. I searched long time for this,

Solution 1:

You need to query the sqlite_master table of the schema ABC .

SELECT * FROM ABC.sqlite_master WHERE type='table';

Post a Comment for "How To List The Table Name From Sqlite DB -- Android"