05 2014 档案
摘要:摘自:username2.iteye.com/blog/1597917个人理解中文传送的时后需要转码:js代码:要进行两次转码才不会出现乱码(默认为UTF-8)encodeURI(encodeURI(http://localhost/qq/index.jsp?title=专业));java接收参数代...
阅读全文
摘要:lag和lead函数,用于取出数据的前n行的数据和后n行的数据,当然要和over(order by)一起组合其实这2个函数的作用非常好理解,Lead()就是取当前顺序的下一条记录,相对Lag()就是取当前顺序的上一行记录。经常会有判断在一定条件下的两条记录之间的时间差这样的需求。Lead()函数的用...
阅读全文
摘要:1 var hostname = location.hostname;2 window.location.href="http://"+hostname+":8080/zhiban/aftweibo.jsp";
阅读全文
摘要:oracle 截取字符(substr),检索字符位置(instr) case when then else end语句使用 收藏 常用函数:substr和instr1.SUBSTR(string,start_position,[length]) 求子字符串,返回字符串解释:string 元字符串 s...
阅读全文
摘要:原文http://knowyouknowme.iteye.com/blog/574974一、decode在Oracle/PLSQL中,decode具有和 IF-THEN-ELSE 一样的功能。decode函数语法如下:decode( expression , search , result [, s...
阅读全文
摘要:两种简单的行列转置1、固定列数的行列转换如student subject grade--------- ---------- --------student1 语文 80student1 数学 70student1 英语 60student2 语...
阅读全文