摘要: http://cassinidev.codeplex.com/ 阅读全文
posted @ 2013-11-23 15:09 Green.Lee 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 第一步:如果是XP系统:1.开始——运行——输入cmd——回车——在打开的窗口中输入net stop WuAuServ2.开始——运行——输入%windir%3.在打开的窗口中有个文件夹叫SoftwareDistribution,把它重命名为SDold4.开始——运行——输入cmd——回车——在打开的窗口中输入net start WuAuServ第二步:1.开始——运行——输入regedit——回车2.找到注册表,HKEY_LOCAL_MACHINE\SOFWARE\Microsoft\Internet Explorer下的MAIN子键,点击main后,在上面菜单中找到“编辑”--“权限”,点 阅读全文
posted @ 2013-11-23 15:02 Green.Lee 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.infoq.com/cn/articles/Using-CCR使用并发与协调运行时作者 Nick Gunn 译者 赵劼 发布于 2009年4月23日 社区 .NET 主题 性能和可伸缩性 标签 扩展性 , 多线程 分享 | 介绍并发与协调运行时(Concurrency and Coordination Runtime,CCR)是一个.NET平台上的异步信息传递类库,提供了一套细小而强大的基础功能,能够使用不同的方式来组织应用程序。应用程序通过有效使用CCR可以获得更好的响应能力,以及更好的伸缩性及容错性。而它最神奇的地方则在于,开发人员获得这些便利的同时,还减少 阅读全文
posted @ 2011-06-22 13:08 Green.Lee 阅读(476) 评论(0) 推荐(1) 编辑
摘要: 以下为转载国外网站关于 Memcache windows下的编译文章Tuesday, March 30, 2010Building Memcached on Windows I like to be able to compile my software on multiple platforms with different compilers, because it force me to write that complies to standards (if not you'll most likely have a spaghetti of #ifdefs all over 阅读全文
posted @ 2011-02-26 01:25 Green.Lee 阅读(3273) 评论(0) 推荐(0) 编辑
摘要: Random Sort OrderSummary: An example of how data can be sorted randomlyDECLARE@TESTTABLE(idintIDENTITY(1,1),valuevarchar(10)) INSERT@TESTVALUES('A') INSERT@TESTVALUES('B') INSERT@TESTVALUES('C') INSERT@TESTVALUES('D') INSERT@TESTVALUES('E') INSERT@TESTVALUES('F') SELECTvalue FROM@TEST ORDERBYNEWID() 阅读全文
posted @ 2011-01-24 13:45 Green.Lee 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Change owner for all tablesSummary: An example of how to change the owner for all tablesDECLARE@oldOwnersysname,@newOwnersysname,@sqlvarchar(MAX) SELECT@oldOwner='',@newOwner='dbo', @sql=' IFEXISTS(SELECTNULLFROMINFORMATION_SCHEMA.TABLES WHERE QUOTENAME(TABLE_SCHEMA)+''.''+QUOTENAME(TABLE_NAME)=''?' 阅读全文
posted @ 2011-01-24 13:22 Green.Lee 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Using the INSERTED table in SQL Server 2000Summary: An example trigger that shows how to get the values from an update statement and write them out to an audit tableTest data:--######STEP1-CREATINGTESTTABLESANDDATA##### --Createatesttable CREATETABLETABLE1(IDint,VALUEvarchar(50)) --Createatestauditt 阅读全文
posted @ 2011-01-24 13:20 Green.Lee 阅读(218) 评论(0) 推荐(0) 编辑
摘要: SQL Server 2005 Output MethodSummary: An example of how an inserted ID can be returned using the OUTPUT method in SQL Server 2005CREATETABLE#Test ( IDINTIDENTITY(1,1), ValueVARCHAR(10)NOTNULL, ) INSERTINTO#Test(Value) OUTPUTInserted.IDASID VALUES('Value1') 阅读全文
posted @ 2011-01-24 13:18 Green.Lee 阅读(285) 评论(0) 推荐(0) 编辑
摘要: Using CLR to access .NET functions in SQL ServerSummary: An example of how we can create a function in .NET and then use them in SQL Server.According to Microsoft, SQL Server 2005 significantly enhances the database programming model by hosting the Microsoft .NET Framework 2.0 Common Language Runtim 阅读全文
posted @ 2011-01-24 13:10 Green.Lee 阅读(837) 评论(0) 推荐(0) 编辑