Commonly used SQLite database statements and SQLite visualization tool on MAC MeasSQLlite
SQLite is an open-source embedded relational database. Its compact, concise, and fast features are very easy to use in mobile application data management.
I. Introduction
In mobile development, small databases are usually used for
) from table name
To re-query:
Copy Code code as follows:
SELECT DISTINCT num from class
Select DISTINCT key name from table name
Three, the simple use method of Mesasqlite
Mesasqlite is a visual SQLite database editing software, very convenient to use. The following address is the download link: http://www.jb51.net/softs/419734.html.
1. Create a database file
Open the Mesasqlite software, select File in the navig
Common SQLite database statements and how to use SQLite visualization tool MeasSQLlite on MAC, sqlitemeassqllite
I. Introduction
In mobile development, small databases are usually used for data management. SQLite is a very small and convenient database. In iOS development, the native framework also has good support.
Ii
Tags: ack com family data trigger create software management Microsoft programSometimes, we use Python created a test.sqlite file, want to see the data inside, in addition to using Python to connect to the database,SELECT out, what is the best way? It is recommended to use a small tool db Browser for SQLite with the software management of the computer steward can be easily installed, after installation,
To do well, you must first sharpen your tools. Learning SQLite's command line tool is very helpful for us to learn SQLite itself. The most basic one is that it makes learning SQLite easier and more enjoyable. To put it bluntly, the official download website of SQLite provides a command line
inserted the database.
Rowsaffected-The number of rows that the SQL statement changed.
Rows.length-the number of rows returned by the query.
Rows.item (function)-Rows.item (index) returns the row with the given index. If there is no such row, NULL is returned.
Rows.array (Number_)-The actual row array returned by the query. You can use it directly instead of getting rows through Rows.item ().
The next one to continue the in
Label:工欲善其事, its prerequisite. Learning SQLite's command-line tools is very helpful for us to learn about SQLite itself. The basic one is that it makes the process of learning sqlite easier and more enjoyable. let's go back to the official website of SQLite, which provides command-line tools to support multiple platforms, and we can do most of the usual
A simple voting tool has recently been implemented-a soldier's vote (hereinafter referred to as "the Software").
The software is a simple web-based voting tool, implemented using Php+sqlite.
This software is open source, free software.
Software Download Address:
Https://sourceforge.net/projects/xb-vote/files/latest/download?source=files
Once a user has reg
In view of the frequent use of Sqlite database for data persistence, a little encapsulation, easy to use.This package class mainly supports the function
Supports multi-user data storage
Support for SQLite database upgrade
Support for incoming SQL statement build table
Support Sqlitedatabase basic operation. For example: Execsql, rawquery, insert, etc.
Resolves a database concurrency
: This article mainly introduces a simple Web-based voting tool (PHP + SQLite implementation). If you are interested in PHP tutorials, refer to it. Recently, a simple voting tool, called the "software", was implemented ").
This software is a simple Web-based voting tool, which is implemented using PHP + SQLite.This
Import MySQL Data to the SQLite database, but the SQL file exported by MySQL cannot be directly imported to SQLite, and you are too lazy to write code,
So I searched the internet, and there was such a tool to implement CYQ. DBImort.
Http://www.cyqdata.com/download/article-detail-42517
It is easy to use. You only need to enter the link string of from to. The st
Once the database is created, we may want to see if the data in the database was successfully inserted, and many people prefer to use the graphical interface tools to manage the SQLite database. SQLite GUI management tool has many, I recommend using Sqlitestudio tool, Http://sqlitestudio.pl/?act=download. The Sqlitestu
Shell of sqlite3 (1)
Sqlite3.exe is a tool for SQLite to access the database, in the form of command lines.There are two types of shell commands. The first is the shell command, which starts with a point. The second is the SQL command used to manage the current database, ending with a semicolon.Shell commands are divided into the following types: control data display mode; Set shell to read and display dat
Tags: sqlite php lighttpdA simple voting tool has recently been implemented-a soldier's vote (hereinafter referred to as "the Software").The software is a simple web-based voting tool, implemented using Php+sqlite. This software is open source, free software.Software:Https://sourceforge.net/projects/xb-vote/files/lates
SQLite administrator was used in the past, and the keyboard support was too bad. I also found that it has a bug that will display columns not the primary key as the primary key. the author has not updated the source code for a long time, and cannot find the source code if he wants to modify it. It is developed using Delphi, and it is troublesome even if he finds it.
Today, I finally found SQLite expert on
Tags: blog http io os ar using SP file dataOnce the database is created, we may want to see if the data in the database was successfully inserted, and many people prefer to use the graphical interface tools to manage the SQLite database. SQLite GUI management tool has many, I recommend using Sqlitestudio tool, Http://s
The MySQL data imported into the SQLite database, but the MySQL exported SQL files can not be directly imported into the SQLite, they do not bother to write code,
So the internet search, there is really such a tool can achieve cyq. Dbimort
Download Address http://www.cyqdata.com/download/article-detail-42517
Use is also very simple, as long as you fill out the
SPANstyle="COLOR: #ff0000">sqlite> .helpSPAN>.backup ?DB?FILEBackupDB (default "main") to FILE.bail ON|OFFStop after hitting an error. Default OFF.databases List namesand files of attached databases.dump ?TABLE? ... Dump the databasein an SQLtext format IfTABLE specified, only dump tables matchingLIKEpattern TABLE..echo ON|OFFTurn command echo on oroff .exit Exit this program.explain ?ON|OFF? Turn output mode suitablefor EXPLAINon or off. With no args
Sqlite study notes 7: Open the database using sqlite in C language, sqlite Study Notes
The basic content of the database has been mentioned earlier. Next, let's take a look at how to use sqlite in the C language.
Interface 1
sqlite3_open(const char *filename, sqlite3 **ppDb)
Open the database. If the database does not
the execution efficiency of sqlite3_prepare_v2 is often lower than that of sqlite3_step.
3. When the inserted data volume is large, the efficiency improvement brought by the latter is considerable.
Iv. Common SQL functions:
5. Other resources
SQLite resource address:
Official SQLite homepage:Http://www.sqlite.org/
SQLite Chinese site:Http://www.sqlite.com.c
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.