04 2013 档案

摘要:intmethod(inti) {if(i == 1 || i==2)return1;elsereturnmethod(i-1) + method(i - 2);} 阅读全文
posted @ 2013-04-09 20:02 顿金 阅读(231) 评论(0) 推荐(0)
摘要:创建死锁 begin transelect * from paymenthistory WITH (TABLOCKX) --WAITFOR DELAY '00:00:10' 延时,相当于sleep commit tran--注释该句后将产生死锁查找被锁的进程 SELECT requ... 阅读全文
posted @ 2013-04-05 16:57 顿金 阅读(225) 评论(0) 推荐(0)
摘要:Create Function [dbo].[Func_SplitStrToTable](@str varchar(8000))Returns @tableName Table( str2table varchar(100))As--该函数用于把一个用逗号分隔的多个数据字符串变成一个表的一列,例... 阅读全文
posted @ 2013-04-05 16:43 顿金 阅读(754) 评论(0) 推荐(0)
摘要://以下为JQuery代码$(function() { var isStrict = document.compatMode == "CSS1Compat"; jQuery.extend({ w: function() { var w = isStrict ? document... 阅读全文
posted @ 2013-04-05 16:22 顿金 阅读(298) 评论(0) 推荐(0)
摘要:selecta.creatdate,a.subcount,b.total,a.subcount*100/totalfrom(selectcreatdate,COUNT(0)subcountfromtestwhere[percent]>75groupbycreatdate)a,(selectcreat... 阅读全文
posted @ 2013-04-05 16:16 顿金 阅读(226) 评论(0) 推荐(0)