随笔 - 25  文章 - 0  评论 - 115 
  2012年1月19日
摘要: FROM :http://www.cnblogs.com/stswordman/archive/2010/08/03/1791322.htmlWhat does sp_reset_connection do?http://sqldev.net/articles/sp_reset_connection/default.htmlhttp://blogs.msdn.com/b/jimmymay/archive/2009/02/02/sp-reset-connection-does-not-reset-transaction-isolation-level-unexpected-behavior-by阅读全文
posted @ 2012-01-19 01:21 魔君六道 阅读(18) 评论(0) 编辑
摘要: from:http://www.cnblogs.com/stswordman/archive/2011/10/06/2199752.html一个filegroup backup+log backup的bugUSE master;GOdrop database SalesgoCREATE DATABASE SalesON PRIMARY( NAME = SPri1_dat,FILENAME = 'D:\SalesData\SPri1dat.mdf',SIZE = 10,MAXSIZE = 50,FILEGROWTH = 15% ),FILEGROUP SalesGroup1( N阅读全文
posted @ 2012-01-19 01:05 魔君六道 阅读(12) 评论(0) 编辑
  2012年1月16日
摘要: 先将2003 AD所有服务器清单放入d:\server.txt文档,然后运行以下命令:$cred = get-credential domain\administrator --------弹出提示输入域管理员密码$servers = get-content "d:\server.txt"$query = "select * from win32_logicaldisk where drivetype = '3'"foreach ($server in $servers){"Servername - " + $serv阅读全文
posted @ 2012-01-16 11:43 魔君六道 阅读(13) 评论(0) 编辑
摘要: FROM ;http://www.databasejournal.com/features/mssql/article.php/3080501/Using-xpfixeddrives-to-Monitor-Free-Space.htmAs a DBA one of your responsibilities is to monitor disk space. You always need to make sure you have enough for your databases, database backups and any other types of files you plan阅读全文
posted @ 2012-01-16 11:28 魔君六道 阅读(10) 评论(0) 编辑
  2011年12月31日
    该文被密码保护。
posted @ 2011-12-31 12:14 魔君六道 阅读(1) 评论(0) 编辑
  2011年12月19日
    该文被密码保护。
posted @ 2011-12-19 17:34 魔君六道 阅读(0) 评论(0) 编辑
  2011年12月5日
    该文被密码保护。
posted @ 2011-12-05 22:18 魔君六道 阅读(0) 评论(0) 编辑
  2011年12月1日
    该文被密码保护。
posted @ 2011-12-01 14:03 魔君六道 阅读(0) 评论(0) 编辑
  2011年11月28日
摘要: Using GC Efficiently http://blogs.msdn.com/b/maoni/archive/2004/12/19/327149.aspx阅读全文
posted @ 2011-11-28 23:03 魔君六道 阅读(5) 评论(0) 编辑
  2011年11月27日
    该文被密码保护。
posted @ 2011-11-27 12:31 魔君六道 阅读(11) 评论(0) 编辑
  2011年11月14日
摘要: 1 Advanced Transactions Topicshttp://msdn.microsoft.com/en-us/library/ms180799.aspxhttp://msdn.microsoft.com/zh-cn/library/ms188378.aspx阅读全文
posted @ 2011-11-14 22:29 魔君六道 阅读(13) 评论(0) 编辑
摘要: (一),memory1 single_pages,multi_pages,'Data Cache ,virtual_memory_committedselect single_pages_kb=SUM(single_pages_kb),multi_pages_kb=SUM( multi_pages_kb),DataCacheSize=( select count(*)*8 AS 'Data Cache Size(MB)' FROM sys.dm_os_buffer_descriptors ),TOTAL=SUM(single_pages_kb)+ SUM( multi_阅读全文
posted @ 2011-11-14 19:43 魔君六道 阅读(12) 评论(0) 编辑
  2011年11月1日
摘要: zhuan:http://www.codeproject.com/KB/cs/abstractsvsinterfaces.aspxIntroductionIn this article along with the demo project I will discuss Interfaces versus Abstract classes. The concept of Abstract classes and Interfaces is a bit confusing for beginners of Object Oriented programming. Therefore, I am 阅读全文
posted @ 2011-11-01 09:31 魔君六道 阅读(9) 评论(0) 编辑
  2011年10月16日
摘要: While writing your custom rule, you will likely come across a need to debug it and work out why it's behaving in a particular manner.Debugging within FxCop Debugging a custom rule within the FxCop UI is actually quite easy. To do so, simply:Open the FxCop project that contains your custom rule (阅读全文
posted @ 2011-10-16 13:12 魔君六道 阅读(9) 评论(0) 编辑
摘要: When I configure a binding I can overwrite several default timeout settings.For example there are:OpenTimeoutCloseTimeoutSendTimeoutReceiveTimeoutInactivityTimeout...What exactly does each timeout stand for?The WCF documentation says "...timeout for an open operation to complete..." for th阅读全文
posted @ 2011-10-16 12:03 魔君六道 阅读(40) 评论(0) 编辑
  2011年9月25日
摘要: 转 http://blogs.microsoft.co.il/blogs/idof/archive/2011/08/10/wsdl-vs-mex-knockout-or-tie.aspx WSDL vs MEX, knockout or tie?When teaching WCF I am always asked about the difference between getting the service’s metadata by using the WSDL’s http get url, and getting the metadata by calling the MEX end阅读全文
posted @ 2011-09-25 20:13 魔君六道 阅读(27) 评论(0) 编辑
  2011年9月17日
摘要: 转(http://www.cnblogs.com/killmyday/archive/2010/11/16/1878847.html)当你对ASP.NET 4.0网站执行代码覆盖率测试时,可能会遇到下面这个异常:System.Security.VerificationException: Operation could destabilize the runtime.一般来说,VerificiationException都是关于代码访问安全(CAS)的问题,.NET在执行托管代码之前,首先会验证这个托管程序的强签名,通过确定其来源来判定该托管程序应该拥有的权限。比如说,如果托管程序是微软公司的阅读全文
posted @ 2011-09-17 19:19 魔君六道 阅读(28) 评论(0) 编辑
  2011年8月30日
摘要: 1,Accrding to the following quote, WCF transport security provides point-to-point security:Transport security is used to provide point-to-point security between the two endpoints (service and client). If there are intermediary systems between the client and the server, each intermediate point must f阅读全文
posted @ 2011-08-30 12:15 魔君六道 阅读(67) 评论(0) 编辑
  2011年7月30日
摘要: .文本文件与二进制文件的区别 文本格式指的是将所有内容都存储为文本。例如,以文本格式存储值-2.324216e+07时,将存储该数字包含的13个字符。这需要将浮点数的计算机内部表示转换为字符格式,这正式<<插入操作符完成的工作。二进制格式指的是存储值的计算机内部表示。也就是说,计算式不是存储字符,二十存储这个值的64位double表示。对于字符来说,二进制表示与文本表示是一样的,即字符的ASCII码的二进制表示。对于数字来说,二进制表示与文本表示有很大的差别。2.两种表示的优缺点文本格式便于读写,可以使用编辑器或字处理器来读取和编辑文本文件,可以很方便的将文本文件从一个计算机系统传阅读全文
posted @ 2011-07-30 09:47 魔君六道 阅读(35) 评论(0) 编辑
  2011年6月1日
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Reflection;using System.ComponentModel;namespace ConsoleApplication4{public class ConverDictToEntity{#region Reflect into entityprivate Dictionary<string, string> DT;public TEntity DictToEntity<TE阅读全文
posted @ 2011-06-01 16:44 魔君六道 阅读(39) 评论(0) 编辑
  2011年2月11日
    该文被密码保护。
posted @ 2011-02-11 12:44 魔君六道 阅读(6350) 评论(110) 编辑
  2009年11月29日
摘要: 阅读提示:下面使用的音标,棕色的为国际音标IPA,即英音,暗蓝色的为美语KK音标,即美音,深蓝色的则是可在线播放的音频文件,需Realplayer播放。有关美音的讲解是以英音为参照点的。如有些音标符号显示不出来则说明你的机器缺少相应的字体文件,可以跟帖告诉我一声,然后再共同想办法好了。[1] 奇妙的[ r ]音。[ r ]音是最具区别性特征的美语音标之一。 当[r]音在词首时基本没什么可说的,英美语没什么不同。而当它出现在词中与其它单元音组合在一起时,美语中的[ r ]便成了个典型的卷舌音,如bIRd, teachER等。这个[r]音简单易学, 如teacher一词,你先按国际音标的发法,发出阅读全文
posted @ 2009-11-29 15:52 魔君六道 阅读(291) 评论(0) 编辑
  2008年8月1日
posted @ 2008-08-01 12:03 魔君六道 阅读(337) 评论(0) 编辑
  2008年6月12日
posted @ 2008-06-12 10:24 魔君六道 阅读(764) 评论(0) 编辑
  2008年6月9日
posted @ 2008-06-09 10:24 魔君六道 阅读(203) 评论(0) 编辑