伯乐共勉

讨论。NET专区
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2007年8月30日

摘要: 以下是我在测试一个工作流时所使用的脚本,记录一下,免得忘了。 Sub MsgProcesses()Sub MsgProcesses Dim oAppPath As String = replace(K2App.Solution.Projects.Item("KMOAFLOW").filename.tolower,"KMOAFLOW".tolower & ".kpj","") ... 阅读全文

posted @ 2007-08-30 15:42 伯乐共勉 阅读(355) 评论(0) 推荐(0) 编辑

摘要: int sqlite3_key(sqlite3 *db, const void *pKey, int nKey) { return sqlite3_key_interop(db, pKey, nKey); } int sqlite3_rekey(sqlite3 *db, const void *pKey, int nKey) { return sqlite3_rekey_interop(db... 阅读全文

posted @ 2007-08-30 15:40 伯乐共勉 阅读(624) 评论(0) 推荐(0) 编辑

摘要: /*** 下面是编译时提示缺少的函数 ***/ /** 这个函数不需要做任何处理,获取密钥的部分在下面 DeriveKey 函数里实现 **/ void sqlite3CodecGetKey(sqlite3* db, int nDB, void** Key, int* nKey) { return ; } /*被sqlite 和 sqlite3_key_interop 调用, 附加密钥... 阅读全文

posted @ 2007-08-30 15:39 伯乐共勉 阅读(545) 评论(0) 推荐(0) 编辑

摘要: (4) 事务处理 sqlite 是支持事务处理的。如果你知道你要同步删除很多数据,不仿把它们做成一个统一的事务。 通常一次 sqlite3_exec 就是一次事务,如果你要删除1万条数据,sqlite就做了1万次:开始新事务->删除一条数据->提交事务->开始新事务->… 的过程。这个操作是很慢的。因为时间都花在了开始事务、提交事务上。 你可以把这些同类操作做成一个事务,... 阅读全文

posted @ 2007-08-30 15:38 伯乐共勉 阅读(1442) 评论(2) 推荐(0) 编辑

摘要: (2) SQL语句操作 本节介绍如何用sqlite 执行标准 sql 语法。 i.1 执行sql语句 int sqlite3_exec(sqlite3*, const char *sql, sqlite3_callback, void *, char **errmsg ); 这就是执行一条 sql 语句的函数。 第1个参数不再说了,是前面o... 阅读全文

posted @ 2007-08-30 15:37 伯乐共勉 阅读(1286) 评论(0) 推荐(0) 编辑

摘要: 董淳光 42530 (老工号) dcg1981@163.com 2007年6月11日星期一 前序: 一、 版本 二、 基本编译 三、 SQLITE操作入门 (1) 基本流程 (2) SQL语句操作 (3) 操作二进制 (4) 事务处理 四、 给数据库加密 五、 ... 阅读全文

posted @ 2007-08-30 15:31 伯乐共勉 阅读(784) 评论(0) 推荐(0) 编辑

摘要: Mork was the name David McCusker gave to a text file format at Netscape. It was used for address books and history files under Mozilla when the mail/news team first released an open source version of ... 阅读全文

posted @ 2007-08-30 10:53 伯乐共勉 阅读(252) 评论(0) 推荐(0) 编辑

摘要: Mork Structure From MDC Contents [hide] 1 Terms 2 Model 3 Roots ... 阅读全文

posted @ 2007-08-30 10:40 伯乐共勉 阅读(700) 评论(0) 推荐(0) 编辑

摘要: SQLite不同于其他大部分的SQL数据库引擎,因为它的首要设计目标就是简单化: 易于管理 易于使用 易于嵌入其他大型程序 易于维护和配置 许多人喜欢SQLite因为它的小巧和快速. 但是这些特性只是它的部分优点, 使用者还会发现SQLite是非常稳定的. 出色的稳定性源于它的简单, 越简单就越不容易出错. 除了上述的简单、小巧和稳定性外, 最重要的在于SQ... 阅读全文

posted @ 2007-08-30 10:34 伯乐共勉 阅读(454) 评论(0) 推荐(0) 编辑

摘要: Mozilla各个应用程序的存储五花八门,光ThunderBird就用了三四种,这一次Mozilla准备整合各种存储引擎,提供公共的接口和访问方法,根据备忘录,最有可能的就是选用SQLite3。以下是备忘录的原文 Mozilla2:Unified Storage From MozillaWiki ... 阅读全文

posted @ 2007-08-30 10:19 伯乐共勉 阅读(523) 评论(0) 推荐(0) 编辑

摘要: From: David McCusker Subject: [MORK] brief syntax summary related to MDB usage Date: 1999/03/16 Message-ID: Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: O... 阅读全文

posted @ 2007-08-30 10:05 伯乐共勉 阅读(395) 评论(0) 推荐(0) 编辑

摘要: Mork is a computer file format used by several email clients and web browsers produced by Netscape, and later, Mozilla Foundation. It was developed by David McCusker with the aim of creating a minimal... 阅读全文

posted @ 2007-08-30 10:02 伯乐共勉 阅读(368) 评论(0) 推荐(0) 编辑