what is websocketsTwo-way communication over
ont TCP socket, a type of PUSH technology HTML5的新特性,用于双向推送消息(例如网页聊天,手机推送消息等)
原理:client利用regular http请求w.....
分类:
Web程序 时间:
2014-05-23 11:28:28
阅读次数:
560
SQL Server 2005引入的新方法。SELECT * FROM (SELECT
ROW_NUMBER() OVER(ORDER BY keyField DESC) AS rowNum, * FROM tableName) AS t
WHERE rowNum > start AND rowNu...
分类:
数据库 时间:
2014-05-22 14:22:58
阅读次数:
351
Definitions:?StressTests the server –Peak volume
over a short span of time?LoadTests the database –Largest load the database can
handle at one time?Vo...
分类:
其他好文 时间:
2014-05-22 01:29:01
阅读次数:
338
The semaphore module can be used as an arbiter to ensure mutual exclusivity when sharing resources over multiple cores in a multicore device. It provides up to 64 independent semaphores that can be ac...
分类:
其他好文 时间:
2014-05-21 16:26:59
阅读次数:
234
表T_phone中字段:Id, Haoduan, Adress, Type,
Quhao1,ROW_NUMBER()是个开窗函数,它可以与聚合函数一起用,就算删除表中的列,排序也不会乱select *,ROW_NUMBER()
over(order by id) as 排序 from T_Phone...
分类:
其他好文 时间:
2014-05-20 13:16:26
阅读次数:
260
--SELECT TOP 3 Name,Age,Gender FROM View_Student
WHERE GROUP having ORDER BY id
DESC----在最终生成用户想要的数据之后,才进行排序,如果不得不排序,那么就尽可能吧消耗减到最小--ALTER VIEW View_St...
分类:
其他好文 时间:
2014-05-20 09:20:36
阅读次数:
360
代码SELECT A.*FROM( SELECT ROW_NUMBER()
OVER(PARTITION BY Host ORDER BY Host,count(EntranceURL) DESC) AS ROW, Host,
EntranceURL as PageURL ...
分类:
数据库 时间:
2014-05-19 09:12:59
阅读次数:
338
-- =============================================
-- Author: ***
-- Create date: 2014-03-27 20:00
-- Description: 采用最新的 row_number() over 技术高...
分类:
数据库 时间:
2014-05-18 06:21:24
阅读次数:
317
写脚本的时候,经常需要用到超时控制。看《shell专家编程》时看到一个好例:修改了一下,1.超过timeout时间还没执行完,则kill进程,发邮件告警:set-xmailSend(){
mailContent="xxxx Web response time over 5 seconds" echo...
分类:
其他好文 时间:
2014-05-17 23:30:14
阅读次数:
497
Row_number配合over(partition by xx order by xx) 与
Group by 的区别, = order + group?SqlBulkCopyGuidance Automation Toolkit 2010
Reference
分类:
其他好文 时间:
2014-05-15 20:39:55
阅读次数:
249