摘要: 需要用rownum和order by时可以用两层select进行查询select * from(select rownum rn, a.* from (select DISTINCT c.name AS cname, NVL(sum(oi. money),0) AS sumMoney from (o 阅读全文
posted @ 2017-09-28 15:05 燕大梁朝伟 阅读(1104) 评论(0) 推荐(0) 编辑
摘要: #是将传入的值当做字符串的形式,可以防止sql注入 $是将传入的数据直接显示生成sql语句 阅读全文
posted @ 2017-09-28 15:04 燕大梁朝伟 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 设置tomcat的servers项目下server.xml,修改如下代码 <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="UTF-8"/> 阅读全文
posted @ 2017-09-28 15:02 燕大梁朝伟 阅读(183) 评论(0) 推荐(0) 编辑