gett all tables list in SQLite?
Posted: Thu Jul 17, 2003 5:21 am
Hi,
Im pretty new into SQLite, and im trying to display a list with all the tbles in certain database.
Ive tried:
No one give me 'error', but cannot get the table names
Rows = SQLiteRows()
Cols = SQLiteCols()
Gives me 0 as result.
Thanks in advance for any assitance or tip
Im pretty new into SQLite, and im trying to display a list with all the tbles in certain database.
Ive tried:
Code: Select all
Result = SQLiteExec("SELECT name FROM sqlite_master WHERE type='table' ORDER BY name")
Result = SQLiteExec("SELECT name FROM sqlite_master WHERE type IN ('table', 'index')")
Result = SQLiteExec("SELECT name FROM sqlite_master")
Rows = SQLiteRows()
Cols = SQLiteCols()
Gives me 0 as result.
Thanks in advance for any assitance or tip