2011年2月24日
摘要: 通常形成记录集可以使用 Set rs=conn.execute(SQL) 或直接rs=CONN.execute(SQL)和 Set rs=Server.CreateObject("ADODB.Recordset")rs.open SQL,CONN,0,1 或 rs.open SQL,CONN这种情况 通常open比上一个性能要好那么一丁点( command对象更灵活,执行范围更广)使用 CONN.execute 可以不用关闭直接执行下一个 set rs=conn.execute(SQL)大约要慢 2~5倍!!(这是在msSQL循环1000次的),所以执行下一个 rs=con 阅读全文
posted @ 2011-02-24 17:34 清清飞扬 阅读(3974) 评论(1) 推荐(0) 编辑
摘要: On error resume NextDim mu_ConnString, mu_InsertSqlmu_ConnString = "driver={SQL Server};Server=192.xx.xx.xx;database=TestFax;Uid=sa;pwd=xxx;" '连接SQL Server2005'mu_ConnString = "Provider=MSDAORA.1;Data Source=GSxx;User ID=GSxxx;Password=GSxxx" '连接Oracle数据库mu_InsertSql 阅读全文
posted @ 2011-02-24 17:14 清清飞扬 阅读(646) 评论(0) 推荐(0) 编辑
摘要: On error resume NextDim mu_ConnString, mu_InsertSqlmu_ConnString = "driver={SQL Server};Server=192.xx.xx.xx;database=TestFax;Uid=sa;pwd=zzz;" '连接SQL Server2005'mu_ConnString = "Provider=MSDAORA.1;Data Source=GSxxx;User ID=xx;Password=xxx" '连接Oracle数据库mu_InsertSql = &q 阅读全文
posted @ 2011-02-24 17:04 清清飞扬 阅读(524) 评论(0) 推荐(0) 编辑
摘要: VBScript代码可以直接放在.vbs文件中,双击直接运行。1. 数据库采用SQL Server2005,新建一个数据库,创建表T_UserInfo和存储过程Proc_T_AddUser-- 为测试建立的用户信息表Create Table T_UserInfo( UID int identity(1,1) primary key, -- 用户ID,主键,自动增长 UName varchar(20) not null, -- 用户姓名 UAge int default 0, -- 年龄 UMoney int default 0, -- 存款 InTime datetime default ge 阅读全文
posted @ 2011-02-24 16:48 清清飞扬 阅读(3400) 评论(2) 推荐(0) 编辑
摘要: From: http://www.cnblogs.com/freecoder/archive/2006/08/07/TinyXmlStapleA.html这次使用了TinyXML后,觉得这个东西真是不错,于是将使用方法坐下总结来和大家分享。该解析库在开源网站(http://sourceforge.net)上有下载,在本Blog也提供下载(下载TinyXML) TinyXML是一个开源的解析XML的解析库,能够用于C++,能够在Windows或Linux中编译。这个解析库的模型通过解析XML文件,然后在内存中生成DOM模型,从而让我们很方便的遍历这课XML树。 注:DOM模型即文档对象模型,是将 阅读全文
posted @ 2011-02-24 16:09 清清飞扬 阅读(290) 评论(0) 推荐(0) 编辑
摘要: enum CursorTypeEnum{ adOpenUnspecified = -1, adOpenForwardOnly = 0, adOpenKeyset = 1, adOpenDynamic = 2, adOpenStatic = 3};enum CursorOptionEnum{ adHoldRecords = 256, adMovePrevious = 512, adAddNew = 16778240, adDelete = 16779264, adUpdate = 16809984, adBookmark = 8192, adApproxPosition = 16384, adU 阅读全文
posted @ 2011-02-24 15:56 清清飞扬 阅读(1463) 评论(0) 推荐(0) 编辑