开发笔记

select disdinct 字段 from   --根据字段去重,若有该字段相同的则只返回一条。 
a.policyno = b.policyno(+)  --相当于左连接,右边无数据则显示为空。
select a.riskcode ,(select riskcname where riskcode = a.riskcode) as riskname where policyno = '111';  --可以这样写,免除了连接查询。

http://www.cnblogs.com/QQParadise/articles/2058050.html
--db2常用的函数

http://www.cnblogs.com/hoojo/archive/2011/04/25/2026819.html
--用Castor 处理XML文档 ,实现java与xml 相互转换

------
String uuid = java.util.UUID.randomUUID().toString();
获取随机标识,根据当地时间等生成,(概率意义上)3240年不重复。
在单个线程内,日志统一加上该id,方便查找日志。

http://www.cnblogs.com/mingzi/archive/2009/03/09/1406839.html
http://chnic.iteye.com/blog/127343
axis的使用

\"  转义,记住,需要正斜杠

js中的reset()方法 ,将表单中的值重置为加载进来的值。已经与jsp无关了。
路径中  ../  开头指返回上一层  ./  指当前路径下
<@include file = "../a.jsp">  -静态包含,直接将代码包含进来吗,当做一个jsp编译
<jsp:include page = "..">  --动态包含

certify 单证   sign 标记  exists 存在 distinct

备份表:with temptable(riskcode,riskname)as(select riskcode ,riskcname from prpdrisk where riskcode = '3101') select * from temptable;

http://www.cnblogs.com/netserver/archive/2008/12/25/1362615.html

posted on 2016-08-09 11:29  黑鸟卫  阅读(157)  评论(0编辑  收藏  举报