
SQLite
文章平均质量分 66
iteye_3854
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
为什么查询语句中经常会有"1=1"
目的是动态查询,查询语句先加上WHERE 1=1,然后后面的条件不论是有一个或者多个都可以直接写为AND <condition>. dim sqlstmt as new StringBuilder sqlstmt.add("SELECT * FROM Products") sqlstmt.add(" WHERE 1=1") ''// From now on you ...原创 2012-01-03 16:37:28 · 197 阅读 · 0 评论 -
SQLite数据库查看工具
SQLite的官方网站[url]http://www.sqlite.org/[/url] SQLite的官方网址列了很多查看SQLite数据库的软件: [url]http://www.sqlite.org/cvstrac/wiki?p=ManagementTools[/url] 这里推荐我使用过的几个, 当然是免费的才行. 1. SQLite Database Browser ...原创 2011-02-09 22:56:53 · 1208 阅读 · 1 评论 -
Get last inserted rowid from sqlite database
Use SELECT last_insert_rowid(); to get the last inserted rowid. If you are using AUTOINCREMENT keyword then SELECT * from SQLITE_SEQUENCE; will tell you the values for every table. ...2012-01-29 11:40:30 · 214 阅读 · 0 评论 -
VACUUM command in SQLite
http://www.sqlite.org/lang_vacuum.html The VACUUM command rebuilds the entire database. There are several reasons an application might do this: Unless SQLite is running in "auto_v...原创 2011-11-03 22:42:54 · 181 阅读 · 0 评论 -
The Full-Text Search (FTS) in SQLite
http://www.sqlite.org/fts3.html FTS3 and FTS4 are an SQLite virtual table modules that allows users to perform full-text searches on a set of documents. The most common (and effective) ...原创 2011-11-03 22:44:59 · 301 阅读 · 0 评论