08 2005 档案

摘要:1.用Sql Index替代logical file,因为前者会带来每次读64k,而logical file只能每次8k.sql index 有两种方式,evi 和rdi,具体的差别得找资料,正常的都是rdx。一般都可以通过create index来创建。 http://www-900.ibm.com/cn/support/nav/200303/p17.shtml 2.v5r3的 sqe(sql ... 阅读全文
posted @ 2005-08-20 17:40 深渊野鱼 阅读(642) 评论(0) 推荐(0)
摘要:146 Integrating DB2 Universal Database for iSeries with Microsoft ADO .NETIn this section, we discuss some of the things you can do to make the best use of the IBMDB2 UDB for iSeries provider. Read a... 阅读全文
posted @ 2005-08-14 20:49 深渊野鱼 阅读(855) 评论(0) 推荐(0)
摘要:Some CL commands do not produce an OUTFILE like the command in Example 4-99 does.However, many allow you to spool the output. In this section, we show how to process theresults of a command that produ... 阅读全文
posted @ 2005-08-14 19:14 深渊野鱼 阅读(999) 评论(0) 推荐(0)
摘要:Using an ALIAS to access a multi-member fileTo use an ALIAS to access a member other than the first member of a file, first create thealias, and then use that ALIAS instead of the file name. Example 4... 阅读全文
posted @ 2005-08-14 19:13 深渊野鱼 阅读(858) 评论(1) 推荐(0)
摘要:现在发现,如果一个数据表格内,如果有100行需要删除,如果我用SqlDataAdapter来Update,那么效率比较低下,可能会需要执行100次往返。那么,我们现在需要做的是,把所有需要更新的操作放在一个sql语句里面,用:来分隔。Sqlserver的SqlClient支持 sql语句1;sql语句2;....Oracel的OracleClient支持Begin sql语句1;sql语句2;..... 阅读全文
posted @ 2005-08-13 00:12 深渊野鱼 阅读(905) 评论(1) 推荐(0)
摘要:配置文件: 上面配置文件主要演示两种形式 ... 阅读全文
posted @ 2005-08-10 14:13 深渊野鱼 阅读(1866) 评论(0) 推荐(0)
摘要:由于log4net 1.2.9可以支持独立的配置文件,这样对于web来说很方便,但是winform倒不是很好的,因为需要运行时拷贝log4net.config到bin/debug bin/release中,由于框架是我设计的,不希望使用的人很麻烦,所以翻来覆去,终于找到一个方法 利用 项目的属性-通用属性-预生成事件命令行在那里输入copy $(ProjectDir)log4net.config ... 阅读全文
posted @ 2005-08-09 10:12 深渊野鱼 阅读(949) 评论(0) 推荐(0)
摘要:在很多时候,我们只要使用DataAdapter去Update DataSet就能够实现数据的新增修改删除功能,但是有时候主从标的关系,假如,主表一条,从表100条数据需要删除,100条数据需要增加,这种方式通常是在于,我们不知道到底要修改哪条从表的数据。因此,我们就把从表的数据全部删除,然后在新增数据,来达到修改从表数据的方式。但是这样就变得,实际上,我们执行了1次修改,100次删除,100次新... 阅读全文
posted @ 2005-08-06 00:35 深渊野鱼 阅读(922) 评论(0) 推荐(0)