Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

list tables sqlite

>sqlite3 c:dbmy_base						-- opens database
sqlite> .tables								-- all tables
sqlite> .table '%es'						-- tables ending with 'es'
-- Via SQL:
SELECT name FROM  sqlite_master 
WHERE type ='table' AND name NOT LIKE 'sqlite_%';
Source by www.sqlitetutorial.net #
 
PREVIOUS NEXT
Tagged: #list #tables #sqlite
ADD COMMENT
Topic
Name
1+2 =