摘要: var name = document.getElementById("name").options[document.getElementById("name").selectedIndex].text; var id = document.getElementById("id").options[document.getElementById("id").selectedIndex].val... 阅读全文
posted @ 2010-08-23 21:27 Cratical 阅读(584) 评论(0) 推荐(0)
摘要: 应当用: where TO_CHAR(t.RecordTime, 'yyyymmdd') = '20100519'不能用: where t.RecordTime = TO_DATE('200100519', 'yyyymmdd') to_char是把日期截取出来跟待查询的日期去比较to_date是把待查询的日期转成日期格式去与数据库中相关列的内容作比较to_date转的时候,如果要过滤的日期是2... 阅读全文
posted @ 2010-08-23 19:50 Cratical 阅读(11430) 评论(4) 推荐(1)
摘要: select resid, delay, discard from (select a.resid, sum(decode(a.ditemid, 'aaa', a.value, '')) || sum(decode(a.ditemid, 'B_WebDNSDW', a.value, '')) delay, ... 阅读全文
posted @ 2010-08-23 19:47 Cratical 阅读(721) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title&... 阅读全文
posted @ 2010-08-23 19:11 Cratical 阅读(3750) 评论(0) 推荐(0)