Answers for "list tables in SQLIte"

SQL
4

list tables sqlite

>sqlite3 c:\db\my_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_%';
Posted by: Guest on May-20-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language