
sqlite
cdefg198
这个作者很懒,什么都没留下…
展开
-
sqlite编程插入标示字段,获得新id
sqlite的语法和sql server的语法是有一些区别的,比如插入数据,对于标示种子的字段,必须指定为NULL,而获得新id,在sql server中是 SELECT @@IDENTITY [id] 但是在sqlite中不是这样,而是 insert into t_1(i转载 2011-08-12 10:45:23 · 1267 阅读 · 0 评论 -
all to undefined function sqlite_open()错误php sqlite_open()不可以调
Call to undefined function sqlite_open()错误php sqlite_open()不可以调用 这是因为你的PHP服务器没有启用sqlite支持,php如何启用sqlite?请看下文: 如果没有能正常加载sqlite模块,就可能出现这样的错误原创 2011-08-17 11:57:54 · 4307 阅读 · 0 评论 -
再来一个SqliteHelper,项目中用的
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SQLite; using System.Data; using System.Data.Common; namespace IcoLync.Data.HistroyMessage {原创 2012-07-12 18:18:12 · 2605 阅读 · 1 评论 -
SqliteHelper抄袭
using System; using System.Data; using System.Text.RegularExpressions; using System.Xml; using System.IO; using System.Collections; using System.Data.SQLite; namespace DBUtility.SQLite { ///转载 2012-07-12 18:13:14 · 3662 阅读 · 0 评论 -
Sqlite实现默认时间为当前时间列的方法
在SQL Server中,创建表格的时候,对于时间列有时候我们可以根据需要指定默认值为当前时间(也就是说记录生成的时候有默认的时间戳)。例如: view plaincopy to clipboardprint? create table log( content varchar(256), logtime datetime default getdat转载 2012-10-21 13:20:47 · 2831 阅读 · 0 评论