...COMMIT;--输出成功信息DBMS_OUTPUT.PUT_LINE('RUN RESULT: SUCCESS'); EXCEPTION WHEN OTHERS THEN BEGIN ROLLBACK; --输出错误信息 ...
分类:
数据库 时间:
2014-07-10 12:36:08
阅读次数:
398
1,设置A机时间服务器: a,修改 /etc/ntp.conf,如下: # Undisciplined Local Clock. This is a fake driver intended for backup# and when no outside source of synchroniz.....
分类:
系统相关 时间:
2014-07-10 12:15:56
阅读次数:
253
题目:求1+2+3...+n,要求不能使用乘除法、for、while、if、else、switch、case等关键字以及条件判断语句题解分析:不能使用乘除法,也就不能使用 n(n+1)/ 2公式了不能使用for while 也就不能使用循环之类的利用构造函数求解:循环只是让相同代码重复执行n遍,我们...
分类:
其他好文 时间:
2014-07-10 11:33:22
阅读次数:
208
近日被mongoDB的聚合难住了,条件:1、表中有字段mac,pv,ip,dates,type2、要求,根据ip来group,计算pv合计,不重复的mac数,不重复的ip数3、下面是解决办法,说明:MongoDB权威指南中使用的是对象,即"macs":{},然后在reduce里面用 in来查找,pr...
分类:
数据库 时间:
2014-07-10 00:16:14
阅读次数:
252
You are climbing a stair case. It takes n steps to reach to the top.
分类:
其他好文 时间:
2014-07-08 00:12:04
阅读次数:
171
Administrating Virtual Machines with QEMU Monitor When QEMU is running, a monitor console is provided for performing interaction with the user. Using ...
分类:
其他好文 时间:
2014-07-08 00:06:50
阅读次数:
464
If you use cookieless session ID and deploy them on Azure, you might get infinite loop when you query your web site, and browser would down. In this s...
分类:
其他好文 时间:
2014-07-07 21:29:24
阅读次数:
170
You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you cli...
分类:
其他好文 时间:
2014-07-07 21:03:15
阅读次数:
157
CASE 语句CASE selector WHEN value1 THEN action1; WHEN value2 THEN action2; WHEN value3 THEN action3; ….. ELSE actionN;END CASE;CASE表达式DECLARE temp VARCH...
分类:
数据库 时间:
2014-07-07 18:11:01
阅读次数:
312
1、强引用
public void handleMessage(Message msg) {
case FAIL:
GoplayException mException = new GoplayException();
setVideoUrlFailReason(mException);
mListener.onFailed(mException);
break;...
分类:
编程语言 时间:
2014-06-29 20:36:11
阅读次数:
299