Quantcast
Channel: 荷花湾Umhere » sqlite
Browsing latest articles
Browse All 4 View Live

SQLite日期时间比较和计算时间差

SQLite支持以下五个日期时间函数: date(timestring, modifier, modifier, …) time(timestring, modifier, modifier, …) datetime(timestring, modifier, modifier, …) julianday(timestring, modifier, modifier, …)...

View Article



SQLite 函数大全

abs(X) 返回参数X的绝对值。 coalesce(X,Y,…) 返回第一个非空参数的副本。若所有的参数均为NULL,返回NULL。至少2个参数。 glob(X,Y) 用于实现SQLite的 ”X GLOB Y”语法。可使用 sqlite3_create_function() 重载该函数从而改变GLOB运算符的功能。 ifnull(X,Y) 返回第一个非空参数的副本。...

View Article

Sqlite数据库的加密

有一些c++的实现:比如:http://www.sqlite.com.cn/MySqlite/3/253.Html 和http://www.cppblog.com/niewenlong/archive/2007/06/01/25261.html 。 不过,鉴于我对c++不是很精通,于是就采用了ADO.NET 2.0 SQLite Data Provider...

View Article

sqlite递归查询删除和Update/Delete join语法

如果你在找sqlite的递归查询语法或者是update join语法,那么很遗憾的告诉你,sqlite都不支持 不过对于update join,sqlite可以用子查询的方式实现,如: update BillDetailBO set CostPrice=(select CostPrice from SukBO a where a.Id=sukId), RealCostPrice=(select...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images