User Tools

Site Tools


sqlite

If you want to send us your comments, please do so. Thanks
More on comments


sqlite

Useful tool to look into a database: sqlitebrowser

Commands

Remark: DOT commands do not need a semicolon at the end. Ohter commands do

CommandExplanationRemark
sqlite3Start sqliteYou get a prompt: sqlite>
.exitGo back to bash
.helpShow all commands
.open local.sqliteOpen database local.sqlite
.databaseShow open databases
.tablesShow tables
.schema tablemameShow the structur of the table named tablename
.indexesShow indexes of all tables
pragma quick_check;Check the database quick
pragma integrity_check;Check the database thorough
Selection commands
select title from cal_todos

Install sqlite-autoconf-3080500.tar.gz

3080500 is the version number

Download from:

http://www.sqlite.org/download.html#docco

untar with

tar -xf sqlite-autoconf-3080500.tar.gz

Do in its your own home folder as normal user:

CFLAGS="-Os" ./configure
CFLAGS="-Os" avoids the compilation of debug info.\\

The file will become smaller.
Do in your own home folder as normal user:

make

Do in your own home folder as normal user:

make check

Do as root:

make install

Do as root

make installcheck

Do in your own home folder as normal user:

make clean
make distclean

SQlite on the commandline


Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2026 Webevaluation.nl and the authors
Changes reserved.

sqlite.txt · Last modified: by wim