2015年11月16日
摘要: 1、查找表中多余的重复记录,重复记录是根据单个字段(Id)来判断select * from 表 where Id in (select Id from 表 group byId having count(Id) > 1)2、删除表中多余的重复记录,重复记录是根据单个字段(Id)来判断,只留有rowi... 阅读全文
posted @ 2015-11-16 11:24 火玉 阅读(444) 评论(0) 推荐(0) 编辑
  2015年9月28日
摘要: 至 阅读全文
posted @ 2015-09-28 09:31 火玉 阅读(270) 评论(0) 推荐(0) 编辑
  2015年9月25日
摘要: http://www.ycku.com/course/ 飘城web俱乐部http://www.imooc.com/ 慕课网 阅读全文
posted @ 2015-09-25 09:28 火玉 阅读(119) 评论(0) 推荐(0) 编辑
  2015年9月17日
摘要: var reg =/[^u4e00-u9fa5]/; if(!reg.test(custname)){ alert("客户姓名只能输入汉字"); return; } 阅读全文
posted @ 2015-09-17 16:07 火玉 阅读(1237) 评论(0) 推荐(0) 编辑
  2015年8月31日
摘要: 当鼠标移到某个地方的时候,在旁边飘出一个DIV,离开则消失。是使用了某位大大封装的一个函数,稍微改了下。原文地址: 当鼠标移动上去显示一个层,在这个对象的旁边,并且可以给这个层添加值效果如下:函数代码,放到一个JS文件里:[javascript] view plaincopyprint?/** *... 阅读全文
posted @ 2015-08-31 12:14 火玉 阅读(389) 评论(0) 推荐(0) 编辑
  2015年7月8日
摘要: $("input").filter(":radio").removeAttr("checked"); 阅读全文
posted @ 2015-07-08 11:33 火玉 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: DELETE FROM yys_jbxx a WHERE rowid > ( SELECT min(rowid) FROM yys_jbxx b WHERE b.id = a.id and b.comp_name=a.comp_name); 阅读全文
posted @ 2015-07-08 11:17 火玉 阅读(202) 评论(0) 推荐(0) 编辑
  2015年6月30日
摘要: alert($(window).height()); //浏览器当前窗口可视区域高度 alert($(document).height()); //浏览器当前窗口文档的高度 alert($(document.body).height());//浏览器当前窗口文档body的高度 alert($(doc... 阅读全文
posted @ 2015-06-30 16:45 火玉 阅读(135) 评论(0) 推荐(0) 编辑
  2015年2月27日
摘要: $(':input','#myform').not(':button,:submit,:reset,:hidden').val('').removeAttr('checked').removeAttr('selected'); 阅读全文
posted @ 2015-02-27 17:12 火玉 阅读(5368) 评论(0) 推荐(0) 编辑
  2015年2月13日
摘要: ORACLE支持五种类型的完整性约束NOT NULL (非空)--防止NULL值进入指定的列,在单列基础上定义,默认情况下,ORACLE允许在任何列中有NULL值.CHECK (检查)--检查在约束中指定的条件是否得到了满足.UNIQUE (唯一)--保证在指定的列中没有重复值.在该表中每一个值或者... 阅读全文
posted @ 2015-02-13 11:10 火玉 阅读(42991) 评论(0) 推荐(4) 编辑