微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Sqlite官方说明文档

1.SQL As Understood By SQLite

sqlite支持的表达式,操作符等。

2.Result Codes

sqlite常见错误码。
#define sqlITE_OK           0   /* Successful result */
/* beginning-of-error-codes */
#define sqlITE_ERROR        1   /* sql error or missing database */
#define sqlITE_INTERNAL     2   /* Internal logic error in sqlite */
#define sqlITE_PERM         3   /* Access permission denied */
#define sqlITE_ABORT        4   /* Callback routine requested an abort */
#define sqlITE_BUSY         5   /* The database file is locked */
#define sqlITE_LOCKED       6   /* A table in the database is locked */
#define sqlITE_NOMEM        7   /* A malloc() Failed */
#define sqlITE_READONLY     8   /* Attempt to write a readonly database */
#define sqlITE_INTERRUPT    9   /* Operation terminated by sqlite3_interrupt()*/
#define sqlITE_IOERR       10   /* Some kind of disk I/O error occurred */
#define sqlITE_CORRUPT     11   /* The database disk image is malformed */
#define sqlITE_NOTFOUND    12   /* UnkNown opcode in sqlite3_file_control() */
#define sqlITE_FULL        13   /* Insertion Failed because database is full */
#define sqlITE_CANTOPEN    14   /* Unable to open the database file */
#define sqlITE_PROTOCOL    15   /* Database lock protocol error */
#define sqlITE_EMPTY       16   /* Database is empty */
#define sqlITE_SCHEMA      17   /* The database schema changed */
#define sqlITE_TOOBIG      18   /* String or BLOB exceeds size limit */
#define sqlITE_CONSTRAINT  19   /* Abort due to constraint violation */
#define sqlITE_MISMATCH    20   /* Data type mismatch */
#define sqlITE_MISUSE      21   /* Library used incorrectly */
#define sqlITE_NOLFS       22   /* Uses OS features not supported on host */
#define sqlITE_AUTH        23   /* Authorization denied */
#define sqlITE_FORMAT      24   /* Auxiliary database format error */
#define sqlITE_RANGE       25   /* 2nd parameter to sqlite3_bind out of range */
#define sqlITE_NOTADB      26   /* File opened that is not a database file */
#define sqlITE_NOTICE      27   /* Notifications from sqlite3_log() */
#define sqlITE_WARNING     28   /* Warnings from sqlite3_log() */
#define sqlITE_ROW         100  /* sqlite3_step() has another row ready */
#define sqlITE_DONE        101  /* sqlite3_step() has finished executing */
/* end-of-error-codes */

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


SQLite架构简单,又有Json计算能力,有时会承担Json文件/RESTful的计算功能,但SQLite不能直接解析Json文件/RESTful,需要用Java代码硬写,或借助第三方类库,最后再拼成insert语句插入数据表,代码非常繁琐,这里就不展示了。参考前面的代码可知,入库的过程比较麻烦,不能只用SQL,还要借助Java或命令行。SPL是现代的数据计算语言,属于简化的面向对象的语言风格,有对象的概念,可以用点号访问属性并进行多步骤计算,但没有继承重载这些内容,不算彻底的面向对象语言。...
使用Python操作内置数据库SQLite以及MySQL数据库。
破解微信数据库密码,用python导出微信聊天记录
(Unity)SQLite 是一个软件库,实现了自给自足的、无服务器的、零配置的、事务性的 SQL 数据库引擎。SQLite 是在世界上最广泛部署的 SQL 数据库引擎。SQLite 源代码不受版权限制。本教程将告诉您如何使用 SQLite 编程,并让你迅速上手。.................................
安卓开发,利用SQLite实现登陆注册功能
相比大多数数据库而言,具有等优势,广泛应用于、等领域。
有时候,一个项目只有一个数据库,比如只有SQLite,或者MySQL数据库,那么我们只需要使用一个固定的数据库即可。但是一个项目如果写好了,有多个用户使用,但是多个用户使用不同的数据库,这个时候,我们就需要把软件设计成可以连接多个数据库的模式,用什么数据库,就配置什么数据库即可。4.Users实体类,这个实体类要和数据库一样的,形成一一对应的关系。11.Sqlite数据库,需要在代码里面创建数据库,建立表,再建立数据。8.我们开启MySQL数据库,然后进行调试,看程序的结果。2.安装SqlSugar。
基于Android的背单词软件,功能强大完整。
SQLite,是一款轻型的数据库,是遵守ACID的关系型数据库管理系统。说白了就是使用起来轻便简单,