2009年1月6日

一个纯粹在JSP 页面实现对数据增删改的例子

摘要: function btnClick(type){ var fm=document.form1 if(type=='add'){ fm.c.value=1; return t... 阅读全文

posted @ 2009-01-06 15:52 欣路历程 阅读(808) 评论(0) 推荐(0)

ORACLE中用rownum分页并排序的SQL语句

摘要: ORACLE中用rownum分页并排序的SQL语句 以前分页习惯用这样的SQL语句: select * from (select t.*,rownum row_num from mytable t order by t.id) b where b.row_num between 1 and 10 结果发现由于该语句会先生成rownum 后执行order by 子句, 因而排序结果根本不对, 后来在... 阅读全文

posted @ 2009-01-06 12:40 欣路历程 阅读(932) 评论(2) 推荐(0)

导航