Use of SQLite command line tool

Source: Internet
Author: User

Recently usedSQLiteMore, the more this thing is used now, the more fascinated, whether it is work or personal entertainment to write things, as long as there is data storage first thoughtSQLiteI have always been disgusted with data storage in the C/S mode.SQLiteFor a long time, I used XML to store my data. I like to store the data in a single file. I can always bring the data to my body, and their compatibility is good enough, it can be used with data files, even in an embedded system...

SQLite features

ACID transaction Zero Configuration-no need to install and manage configuration a complete database file stored in a single disk file can be freely shared between machines in different byte order support database size to 2 TB small enough, roughly 30 thousand rows CCode, K is faster and simpler than some popular databases in most common databases, and easy APIs include TCL binding. At the same time, wrapper supports binding of good comments to other languages.Source codeAnd has more than 90% test coverage independent: no additional dependency on source full open, you can use for any purpose, including selling it to support multiple development languages, C, PHP, Perl, Java, ASP. net, Python

SQLite Installation
Now there are ready-made software packages available for installation in all major Linux versions, and most of the systems are self-contained. Check whether the system is running or not.
$ Sqlite3
Non-Linux systems:Http://www.sqlite.org/download.htmlDownload and install
Next we will use the SQLite command line tool.

open or create a database
$ sqlite3 test. db3
to open or create a new database file
$ sqlite3 test. db3
SQLite version 3.6.23
enter ". help "for instructions
enter SQL statements terminated with a

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.