原文:08. 删除重复&海量数据重复数据,通常有两种:一是完全重复的记录,也就是所有字段的值都一样;二是部分字段值重复的记录。一. 删除完全重复的记录完全重复的数据,通常是由于没有设置主键/唯一键约束导致的。测试数据:if OBJECT_ID('duplicate_all') is not null...
分类:
其他好文 时间:
2014-06-25 23:46:12
阅读次数:
289
前面写的感觉有点不条理,这里简单整理一下,以备以后查阅和回顾一下使用到的命令都是在终端输入的一.查看ruby是否安装ruby -v修改ruby的源为淘宝的源gem sources -- remove http://rubygems.orggem sources -a http://ruby.taob...
分类:
其他好文 时间:
2014-06-25 23:08:11
阅读次数:
324
特定容器算法
lst.merge(lst2)
将来自lst2的元素并入到lst。这两个都必须是有序的。
lst.merge(lst2, comp)
元素将从lst2删除,第一个版本使用
lst.remove(lst2)调用erase删除掉与给定值相等(==)或令一元谓词为真的每个元素
lst.remove_if(pred)
lst.reverse() 反转...
分类:
编程语言 时间:
2014-06-25 19:32:39
阅读次数:
200
1. 这种方法可以使下拉框和平常没有区别,看起来没有任何不同。唯一不同的就是下拉并单并选择之后,它不会鸟你,选了和没有选一样一样的。就是无视客户的选择。2.设置disabled属性这个看起来更直接,直观就是有只读的感觉,也不可以点击和下拉了。里面的字也会变成灰色当属性设置为"disabled"时,提交表单时,select的值无法传递,提交前移除disabled属性$("#role").remove...
分类:
其他好文 时间:
2014-06-24 18:09:31
阅读次数:
233
今天整合项目的时候, 遇到了这样一个问题。duplicate symbol _flag in: /Users/apple/Library/Developer/Xcode/DerivedData/bluetoothPhone-fspknidhnizzjygmuqngfcklvnic/Build/Intermediates/bluetoothPhone.build/Debug-iphonesim...
分类:
移动开发 时间:
2014-06-22 22:05:27
阅读次数:
266
remove()和直接使用system的一个区别...
分类:
其他好文 时间:
2014-06-22 20:36:12
阅读次数:
181
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the...
分类:
其他好文 时间:
2014-06-22 20:02:46
阅读次数:
182
今天是2014-06-18,在复制数据的时候出现如下错误:
RMAN-05537: DUPLICATE without TARGET connection when auxiliary instance is started with spfile cannot use SPFILE clause
操作过程如下:
[oracle@dg1 dbs]$ rman target sys/root@...
分类:
其他好文 时间:
2014-06-22 19:13:14
阅读次数:
306
/*API-38*/
Element.remove()
删除某个元素对象,无返回值
/*API-39*/
Element.removeData([key]);
删除某个key的value值,如果没有特殊说明则删除所有的元素数据
参数列表:
key
可选参数
字符串类型
key
返回值:元素对象
/*API-105*/
在画布上添加一个字符串,如果...
1、
??
Subsets
Given a set of distinct integers, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not contain duplicate subset...
分类:
其他好文 时间:
2014-06-22 17:08:53
阅读次数:
179