非常教程

Sqlite参考手册

语法图 | Syntax Diagrams

SQLite Syntax: table-constraint

SQLite Syntax: table-constraint

使用者:create-table-stmt

参考:conflict-clause expr foreign-key-clause indexed-column

语法图 | Syntax Diagrams相关

1.SQLite Syntax: alter-table-stmt
2.SQLite Syntax: analyze-stmt
3.SQLite Syntax: attach-stmt
4.SQLite Syntax: begin-stmt
5.SQLite Syntax: column-constraint
6.SQLite Syntax: column-def
7.SQLite Syntax: column-name-list
8.SQLite Syntax: comment-syntax
9.SQLite Syntax: commit-stmt
10.SQLite Syntax: common-table-expression
11.SQLite Syntax: compound-operator
12.SQLite Syntax: compound-select-stmt
13.SQLite Syntax: conflict-clause
14.SQLite Syntax: create-index-stmt
15.SQLite Syntax: create-table-stmt
16.SQLite Syntax: create-trigger-stmt
17.SQLite Syntax: create-view-stmt
18.SQLite Syntax: create-virtual-table-stmt
19.SQLite Syntax: cte-table-name
20.SQLite Syntax: delete-stmt
21.SQLite Syntax: delete-stmt-limited
22.SQLite Syntax: detach-stmt
23.SQLite Syntax: drop-index-stmt
24.SQLite Syntax: drop-table-stmt
25.SQLite Syntax: drop-trigger-stmt
26.SQLite Syntax: drop-view-stmt
27.SQLite Syntax: expr
28.SQLite Syntax: factored-select-stmt
29.SQLite Syntax: foreign-key-clause
30.SQLite Syntax: indexed-column
31.SQLite Syntax: insert-stmt
32.SQLite Syntax: join-clause
33.SQLite Syntax: join-constraint
34.SQLite Syntax: join-operator
35.SQLite Syntax: literal-value
36.SQLite Syntax: numeric-literal
37.SQLite Syntax: ordering-term
38.SQLite Syntax: pragma-stmt
39.SQLite Syntax: pragma-value
40.SQLite Syntax: qualified-table-name
41.SQLite Syntax: raise-function
42.SQLite Syntax: recursive-cte
43.SQLite Syntax: reindex-stmt
44.SQLite Syntax: release-stmt
45.SQLite Syntax: result-column
46.SQLite Syntax: rollback-stmt
47.SQLite Syntax: savepoint-stmt
48.SQLite Syntax: select-core
49.SQLite Syntax: select-stmt
50.SQLite Syntax: signed-number
51.SQLite Syntax: simple-select-stmt
52.SQLite Syntax: sql-stmt
53.SQLite Syntax: sql-stmt-list
54.SQLite Syntax: table-or-subquery
55.SQLite Syntax: type-name
56.SQLite Syntax: update-stmt
57.SQLite Syntax: update-stmt-limited
58.SQLite Syntax: vacuum-stmt
59.SQLite Syntax: with-clause
60.Syntax Diagrams For SQLite
Sqlite

SQLite,是一款轻型的数据库,是遵守ACID的关系型数据库管理系统,它包含在一个相对小的C库中。它是D.RichardHipp建立的公有领域项目。它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Windows/Linux/Unix等等主流的操作系统,同时能够跟很多程序语言相结合,比如 Tcl、C#、PHP、Java等,还有ODBC接口,同样比起Mysql、PostgreSQL这两款开源的世界著名数据库管理系统来

主页 https://sqlite.org/
源码 https://www.sqlite.org/src/
发布版本 3.21.0

Sqlite目录

1.C界面 | C Interface
2.C Interface: Session Module
3.CLI
4.数据库文件表 | Database File Format
5.数据类 | Datatypes
6.动态内存分配 | Dynamic Memory Allocation
7.外键约束 | Foreign Key Constraints
8.全文索引 | Full-Text Search
9.损坏方式 | How To Corrupt
10.JSON
11.语言 | Language
12.局限性 | Limits
13.锁定和并发 | Locking and Concurrency
14.其他 | Miscellaneous
15.PRAGMA Statements
16.查询计划程序 | Query Planner
17.R*Tree Module
18.RBU Extension
19.语法图 | Syntax Diagrams
20.Tcl Interface
21.虚拟表机制 | Virtual Table Mechanism
22.预写日志 | Write-Ahead Logging
23.SQL 教程
24.SQL 简介
25.SQL 语法
26.SQL DELETE 语句
27.SQL UPDATE 语句
28.SQL NOT NULL 约束
29.SQL 约束
30.SQL CREATE TABLE 语句
31.SQL CREATE DATABASE 语句
32.SQL INSERT INTO SELECT 语句
33.SQL SELECT INTO 语句
34.SQL CREATE VIEW、REPLACE VIEW、 DROP VIEW 语句
35.SQL AUTO INCREMENT 字段
36.SQL ALTER TABLE 语句
37.SQL 撤销索引、表以及数据库
38.SQL CREATE INDEX 语句
39.SQL DEFAULT 约束
40.SQL CHECK 约束
41.SQL FOREIGN KEY 约束
42.SQL PRIMARY KEY 约束
43.SQL UNIQUE 约束
44.SQL 通用数据类型
45.SQL ISNULL()、NVL()、IFNULL() 和 COALESCE() 函数
46.SQL NULL 值 – IS NULL 和 IS NOT NULL
47.SQL Server 和 MySQL 中的 Date 函数
48.SQL MS Access、MySQL 和 SQL Server 数据类型
49.SQL 函数
50.SQL 总结
51.SQL 主机
52.SQL 快速参考
53.SQL ROUND() 函数
54.SQL Server GETDATE() 函数
55.MySQL DATE_FORMAT() 函数
56.MySQL DATEDIFF() 函数
57.MySQL DATE_SUB() 函数
58.MySQL DATE_ADD() 函数
59.MySQL EXTRACT() 函数
60.MySQL DATE() 函数
61.MySQL CURTIME() 函数
62.MySQL CURDATE() 函数
63.MySQL NOW() 函数
64.SQL Server CONVERT() 函数
65.SQL Server DATEDIFF() 函数
66.SQL Server DATEADD() 函数
67.SQL Server DATEPART() 函数
68.SQLite 命令
69.SQLite 安装
70.SQLite 简介
71.SQLite 运算符
72.SQLite Select 语句
73.SQLite 删除表
74.SQLite 创建表
75.SQLite Insert 语句
76.SQLite 分离数据库
77.SQLite 附加数据库
78.SQLite 创建数据库
79.SQLite 数据类型
80.SQLite 语法
81.SQLite Order By
82.SQLite Limit 子句
83.SQLite Glob 子句
84.SQLite Like 子句
85.SQLite Delete 语句
86.SQLite Update 语句
87.SQLite AND/OR 运算符
88.SQLite Where 子句
89.SQLite 表达式
90.SQLite Distinct 关键字
91.SQLite Having 子句
92.SQLite Group By
93.SQLite Join
94.SQLite 约束
95.SQLite PRAGMA
96.SQLite 事务
97.SQLite 视图
98.SQLite Truncate Table
99.SQLite Alter 命令
100.SQLite Indexed By