How to get list of all the tables in sqlite programmatically
Use the below sql statement to get list of all table in sqllite data base
SELECT * FROM dbname.sqlite_master WHERE type='table';
The same question asked before on StackOverFlow.
How to list the tables in an SQLite database file that was opened with ATTACH?
try this :
SELECT * FROM sqlite_master where type='table';
worked for me
SELECT * FROM sqlite_master where type='table'