会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
深渊野鱼
Blog主题:.net 访问as400 iSeries方案,iSeries编译工具,db2/400性能优化,Oracle胡乱入门
心 态 :不怨天,不尤人,如果我过得不开心,肯定有原因。好心态第一
原 则 :做一个让别人尊敬的中国人
博客园
首页
新随笔
订阅
管理
基于配置文件的查询,xml文件sample
<?
xml version="1.0" encoding="GB2312"
?>
<
query
title
="箱量查询"
>
<
statements
>
<
statement
name
="querysdsmpf"
database
="DB2"
>
<
titles
>
<
title
>
代码
</
title
>
<
title
>
20f
</
title
>
</
titles
>
</
statement
>
<
content
>
<![CDATA[
select smcode,20f from sdflib.sdsmpf
where smcode=@smcode and
smdate>=@fromdate and
smdate<=@todate
]]>
</
content
>
</
statements
>
<
conditions
>
<
condition
name
="smcode"
title
="代码类型"
type
="String"
length
=3
pairtype
="None"
/>
<
condition
name
="fromdate"
title
="起始日期"
type
="Interger"
length
=8
pairtype
="OneMonth"
/>
<
condition
name
="todate"
title
="结束日期"
type
="Interger"
length
=8
pairtype
="OneMonth"
/>
</
conditions
>
</
query
>
posted @
2005-02-19 21:21
深渊野鱼
阅读(
694
) 评论(
2
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
公告