-- SQL Server 2000SELECT a.name AS 字段名, CASE WHEN EXISTS (SELECT 1 FROM sysobjects WHERE xtype = 'PK' AND parent_obj = a.id AND name IN (SELECT name F...
分类:
数据库 时间:
2014-07-16 23:16:46
阅读次数:
294
1. add a new branch cd workspace git branch user1/newbranch1 git checkout user1/newbranch1 or git checkout -b user2/newbranch2 2. when user1/newbranch...
分类:
其他好文 时间:
2014-07-16 23:09:50
阅读次数:
164
...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
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
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
where vs having当一个sql语句中存在where子句,会先执行where,然后执行group by,然后执行having.一般来说,only use 'having' when you use 'group by'Always use 'having' with aggregate f...
分类:
其他好文 时间:
2014-07-07 16:58:32
阅读次数:
183
Problem J: TravelingTime Limit:1 SecMemory Limit:32 MBDescriptionSH likes traveling around the world. When he arrives at a city, he will ask the staff...
分类:
其他好文 时间:
2014-06-30 15:23:09
阅读次数:
145
小知识点总结1.android中MotionEvent.ACTION_CANCEL事件如何被触发?对于这个问题,android文档的说明很简短,想看明白很难。国外一网页说的还比较详细,写在这里分享给大家:原文是这样的:You receive this when a parent takes poss...
分类:
移动开发 时间:
2014-06-30 14:50:17
阅读次数:
205