3

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, dint get any idea.

For example : My dB name is ABC, in that i have 10 different tables, i want to get the list of table names from that particular Db. Thanks in advance

1
  • Pull the DB from the device through file explorer. Install SQLite manager as plugin to the browser (Firefox). Then open your DB through SQLite manager. Commented Jun 19, 2013 at 7:41

1 Answer 1

1

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

SELECT * FROM ABC.sqlite_master WHERE type='table';
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.