command line tool:
sqlite3
Ex:
sqllite3 mydb.db
change to line mode
.mode line
get database information
select * from sqlite_master;
show tables
sqlite> .tables
show table schema (columns, datatypes, etc.)
sqlite> .schema TABLE_NAME
Archived
This page has been archived and will receive no further updates.
sqlite3
Ex:
sqllite3 mydb.db
.mode line
select * from sqlite_master;
sqlite> .tables
sqlite> .schema TABLE_NAME