表中的数据被delete之后并不会真正删除数据,而是打了一个删除标记,只要还没有被覆盖就可以恢复回来。
实验过程如下:
SYS@ORCL>create table bbed_test(x varchar2(20));
Table created.
SYS@ORCL>insert into bbed_test values('BADLY9');
1 row created...
分类:
数据库 时间:
2014-06-22 22:06:59
阅读次数:
330
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tree and sum...
分类:
其他好文 时间:
2014-06-22 20:59:24
阅读次数:
227
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [3,2,1].
Note: Recursive solut...
分类:
其他好文 时间:
2014-06-22 20:58:01
阅读次数:
157
介绍
晚上无聊的时候,我做了一个测试题,测试题的大体意思是:删除Map中Value重复的记录,并且只保留Key最小的那条记录。
例如:
I have a map with duplicate values:
("A", "1");
("B", "2");
("C", "2");
("D", "3");
("E", "3");
I would like to the map to have:
("A", "1");
("B", "2");
...
分类:
其他好文 时间:
2014-06-22 20:30:10
阅读次数:
175
使用bbed不仅仅可以找回已经delete的数据还可以恢复update的数据,当然过程要比恢复delete的数据复杂一些。
实验过程如下:
SYS@ORCL>create table bbed_test(x int,y varchar2(20));
Table created.
SYS@ORCL>insert into bbed_test values(1,'BADLY9');...
分类:
数据库 时间:
2014-06-22 18:25:30
阅读次数:
409
According to the order of data structure book, Arrays should be introduced in the frist time. When reviewing the some information related to arrays, I feel shocked that many useful classes and methods...
分类:
编程语言 时间:
2014-06-22 18:13:18
阅读次数:
316
Last night it took me about two hours to learn arrays. For the sake of less time, I did not put emphaises on the practice question, just now when reading the book, I found that some methods
referred...
分类:
其他好文 时间:
2014-06-22 17:14:10
阅读次数:
152
Given a binary tree, return the preorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [1,2,3].
Note: Recursive soluti...
分类:
其他好文 时间:
2014-06-22 16:37:51
阅读次数:
168
题目:Unique Binary Search Trees IIGivenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your...
分类:
其他好文 时间:
2014-06-22 13:49:21
阅读次数:
243
3.4.2 依赖与配置的细节
3.4.2.1 Straight values (primitives, Strings, and so on)
JavaBeans PropertyEditors被用来转换这些value到实际的类型。?
bean id="myDataSource" class="org.apache.commons.dbcp.BasicDataSourc...
分类:
编程语言 时间:
2014-06-22 06:40:17
阅读次数:
359