刚做了个简单的测试。在两台硬件环境相同的实体机上分别装了Timesten11g和Oracle11.2.0.4在两边数据库中都建立一个表createtabletest(anumber,bvarchar2(20));commit;然后插入数据declareznumber;xvarchar2(20):=‘abc‘;beginforzin1..1000000loopinsertintotestvalues(z,x);end..
分类:
数据库 时间:
2014-11-19 02:19:58
阅读次数:
288
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring
without repeating letters for "abcabcbb" is "abc", which the length is 3. Fo...
分类:
其他好文 时间:
2014-11-19 01:35:20
阅读次数:
199
$arr?=?array(
??‘A‘?=>?‘A‘,
??‘b‘?=>?‘B‘,
??‘C‘?=>?array(
?????‘e‘?=>?‘f‘,
?‘G‘?=>?array(
????‘H‘?=>?‘i‘,
‘j‘?=>?‘o‘,
?),
???‘abc‘=>array(
??????‘r‘?...
分类:
编程语言 时间:
2014-11-18 16:14:38
阅读次数:
143
#include
#include
void sort(char *a[]);
void print(char *a[]);
int main()
{
char *a[] ={"ceo","define","basic","abc","empty"};
printf("原来的序列是:\n");
print(a);
sort(a);
printf("\n排序后的序列是:\n");
...
分类:
编程语言 时间:
2014-11-17 22:56:55
阅读次数:
461
字符串是有长度的,也有字符串中每个字符的大小。
我想知道的是:在字符串的比较当中,
判断字符串是大是小,是优先判断长度,还是优先判断大小?
长度越长,越大?
大小越大,越大?
比较的时候,从字符串左边开始,一次比较每个字符,直接出现差异、或者其中一个串结束为止。
比如ABC与ACDE比较,第一个字符相同,继续比较第二个字符,由于第二个字符是后面一个串大,所以不再...
分类:
其他好文 时间:
2014-11-17 12:27:51
阅读次数:
160
基本正则表达式
行首定位符^
ls | grep ^abc 以abc开头的文件
行尾定位符$...
分类:
其他好文 时间:
2014-11-16 23:07:27
阅读次数:
183
题目:var arr = [ '100px', 'abc'-6, [], -98765, 34, -2, 0, '300', , function(){alert(1);}, null, document, [], true, '200px'-30,'23.45元', 5, Number('abc'...
分类:
编程语言 时间:
2014-11-16 22:58:39
阅读次数:
306
Valid NumberValidate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the ...
分类:
其他好文 时间:
2014-11-16 13:16:23
阅读次数:
133
1、Servlet映射可以多层多样
例子:
HServlet
com.hunhun.HServlet
HServlet
/HServlet
/abc.html -->
/HServlet/abc -->
2、Servlet可以被映射到多个U...
分类:
Web程序 时间:
2014-11-16 09:26:09
阅读次数:
154
sqlplus / as sysdba alter user system identified by abc; 就可以将system用户的密码改成abc了。 alter user sys identified by abc; sys用户的密码也改成abc了。 然后你再登录sqlplus:sql.....
分类:
数据库 时间:
2014-11-16 00:26:33
阅读次数:
219