04 2011 档案
摘要:一、第一种测试declare @d datetimeset @d=getdate()select COUNT(0) from Disease--select * from Diseaseselect [语句执行花费时间(毫秒)]=datediff(ms,@d,getdate())http://space.itpub.net/9671084/viewspace-255613聚集索引是如此的重要和珍贵,所以笔者总结了一下,一定要将聚集索引建立在:1、您最频繁使用的、用以缩小查询范围的字段上;2、您最频繁使用的、需要排序的字段上。二、第二种测试set statistics profile onset
阅读全文
摘要:WebConfigserviceModel配置方法一: <system.serviceModel><serviceHostingEnvironmentaspNetCompatibilityEnabled="true"><serviceActivations><addrelativeAddress="HelloService.svc"service="HelloService"factory="System.ServiceModel.Activation.WebScriptServic
阅读全文
摘要:publicstaticclassUtils{///<summary>///普通方法——字节数组转字符串,最容易想到///</summary>///<paramname="input"></param>///<returns></returns>publicstaticstringBytesToString(byte[]input){StringBuildersb=newStringBuilder();foreach(bytebininput){sb.Append(b.ToString("X2
阅读全文