Database Sqlite basis of the [original]

Official: https: //www.sqlite.org/index.html

Brief introduction

SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world. SQLite is built into all mobile phones and most computers and comes bundled inside countless other applications that people use every day.

The SQLite file format is stable, cross-platform, and backwards compatible and the developers pledge to keep it that way through at least the year 2050. SQLite database files are commonly used as containers to transfer rich content between systems and as a long-term archival format for data. There are over 1 trillion (1e12) SQLite databases in active use.

installation

# yum install sqlite-devel

use

# sqlite3 -version

# sqlite3 /path/to/db

sqlite>.database

sqlite>.schema

sqlite>.schema table_name

sqlite>insert/delete/select/update

 

Guess you like

Origin www.cnblogs.com/barneywill/p/11058653.html