2012年6月26日

oracle - SQL优化

摘要: 优化规则:1.CBO模式下,表从右到左查询,右边第一个为基础表选择行数的少作为基础表,三个及三个以上的表,需要选择交叉表(连接另外两个表的表)作为基础表,2.数据量大的时候,使用exists 而非 in3.where自下而上的解析where子句,过滤数据记录的条件写在where字句的尾部,以便在过滤... 阅读全文

posted @ 2012-06-26 15:54 lovebeauty 阅读(357) 评论(0) 推荐(0) 编辑

下拉列表框select常用点

摘要: $("#organizationCode").val($(this).val());// $("#organizationName").val($("#" + this +" option:selected").text());错误的$("#organizationName").val($(this... 阅读全文

posted @ 2012-06-26 11:47 lovebeauty 阅读(400) 评论(0) 推荐(0) 编辑

复选框checkbox常用点

摘要: //取得checkbox的选择值View Code 1 var b=document.getElementById("mobileflag").checked;2 if(b == true) {3 b = "Y";4 }else {5 b = "N";6 }取得全部选中的值:View Code var bol = document.getElementsByName("product");var arr = new Array();for(int i=0; i var list = document.getElem 阅读全文

posted @ 2012-06-26 09:46 lovebeauty 阅读(260) 评论(0) 推荐(0) 编辑

导航