【原创】数据库基础之Sqlite

官方:https://www.sqlite.org/index.html

简介

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.

安装

# yum install sqlite-devel

使用

# sqlite3 -version

# sqlite3 /path/to/db

sqlite>.database

sqlite>.schema

sqlite>.schema table_name

sqlite>insert/delete/select/update

猜你喜欢

转载自www.cnblogs.com/barneywill/p/11058653.html
今日推荐