iphone - How to get list of all the tables in sqlite database in my application -


I am creating a SQLite database using the terminal and am integrating this database into my database.

I get a list of all the tables in the database I know that the list of all the tables is displayed in the database in terminal .tables , but how can I programmatically do the same thing .

Can anyone tell me in the right direction?

(I know that my question is not completely clear)

Try it:

  SELECT * to sqlite_master where type = 'table'    

Comments