Answers for "sqlite show all tables"

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
1

sqlite show table definition

.schema table_name
Posted by: Guest on February-10-2021
2

sqlite show table structure

sqlite> .schema my_table
Posted by: Guest on May-20-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language