How to programmatically list all available tables in sqlite?
try the following:
SELECT * FROM sqlite_master where type='table'
Use the sql statement below to list the entire table in sqlite database
SELECT * FROM dbname.sqlite_master WHERE type='table';
The same question was asked earlier in StackOverFlow.
How to list tables in a SQLite database file that was opened using ATTACH?
worked for me