<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/mmcgzs" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/mmcgzs" type="application/rss+xml"></fs:self_link><lastBuildDate>Sun, 20 Mar 2011 15:24:00 GMT</lastBuildDate><title>冬天的蚊子</title><description>----------我喜欢寒冷的冬天。</description><link>http://blog.csdn.net/blogrss.aspx?username=mmcgzs</link><item><title>新浪微博接口使用总结</title><link>http://blog.csdn.net/mmcgzs/archive/2011/03/20/6263667.aspx</link><description>1、OAUTH基本流程简介2、流程相关代码http://open.t.sina.com.cn/wiki/index.php/Oauth#.E8.AF.B7.E6.B1.82.E7.AD.BE.E5.90.8D3、注意事项   所有的参数要参与签名需要post请求的，需要把数据放到post数据流，不能放到url里。除了OAUTH验证的参数外，其他参数需要做两次encode。&lt;img src=&quot;http://www1.feedsky.com/t1/489659374/mmcgzs/csdn.net/s.gif?r=http://blog.csdn.net/mmcgzs/archive/2011/03/20/6263667.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/mmcgzs/489659374/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/mmcgzs/489659374/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 20 Mar 2011 23:24:00 +0800</pubDate><author>潘刚</author><guid isPermaLink="false">http://blog.csdn.net/mmcgzs/archive/2011/03/20/6263667.aspx</guid><dc:creator>潘刚</dc:creator><fs:srclink>http://blog.csdn.net/mmcgzs/archive/2011/03/20/6263667.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/mmcgzs/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/mmcgzs/~1119544/489659374/1119540</fs:itemid></item><item><title>Sql Server中的锁</title><link>http://blog.csdn.net/mmcgzs/archive/2010/12/04/6054608.aspx</link><description>參考： 

1.问：有什么样的办法   让几个程序   同时调用   同一个或者不同存贮过程   同时更新数据表的   同一行的不同字段时   互不干扰   各完成各的操作? 
A:mssqlserver2000默认的lock   的粒度是行级，所以如果一个线程在update一条记录时，就在该行加了排他锁，所以其它的线程是无法读取该记录（除非可以脏读），这是因为在mssqlserver中是不可以同时给一条记录加不同的锁。另外mssqlserver没有锁某一列的锁！ 

所以让几个程序   同时调用   同一个或者不同存贮过程   同时更新数据表的   同一行的不同字段时如果一个在更新，其他的就只能WAIT.... 


　 

2.   如何锁一个表的某一行 


A   连接中执行 

SET   TRANSACTION   ISOLATION   LEVEL   REPEATABLE   READ 

begin   tran 

select   *   from   tablename   with   (rowlock)   where&lt;img src=&quot;http://www1.feedsky.com/t1/489659375/mmcgzs/csdn.net/s.gif?r=http://blog.csdn.net/mmcgzs/archive/2010/12/04/6054608.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/mmcgzs/489659375/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/mmcgzs/489659375/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 04 Dec 2010 12:57:00 +0800</pubDate><author>潘刚</author><guid isPermaLink="false">http://blog.csdn.net/mmcgzs/archive/2010/12/04/6054608.aspx</guid><dc:creator>潘刚</dc:creator><fs:srclink>http://blog.csdn.net/mmcgzs/archive/2010/12/04/6054608.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/mmcgzs/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/mmcgzs/~1119544/489659375/1119540</fs:itemid></item><item><title>Validation of ViewState Mac failed 的解决方法</title><link>http://blog.csdn.net/mmcgzs/archive/2010/09/02/5858080.aspx</link><description>&lt;br /&gt;出现这个问题的原因是比较复杂的，很多文章都有提到，感兴趣的朋友的百度一下。&lt;br /&gt;看了很多文章都说，在web.config里加入&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;我试了一下，怎么都不行，经过反复查找，在一篇文章里找到可以解决问题的方法&lt;br /&gt; 把上面的配置改成下面这样即可，问题解决。&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/489659376/mmcgzs/csdn.net/s.gif?r=http://blog.csdn.net/mmcgzs/archive/2010/09/02/5858080.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/mmcgzs/489659376/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/mmcgzs/489659376/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 02 Sep 2010 12:49:00 +0800</pubDate><author>潘刚</author><guid isPermaLink="false">http://blog.csdn.net/mmcgzs/archive/2010/09/02/5858080.aspx</guid><dc:creator>潘刚</dc:creator><fs:srclink>http://blog.csdn.net/mmcgzs/archive/2010/09/02/5858080.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/mmcgzs/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/mmcgzs/~1119544/489659376/1119540</fs:itemid></item><item><title>SQL Server2005 中用 Pivot 生成交叉表</title><link>http://blog.csdn.net/mmcgzs/archive/2010/01/30/5273702.aspx</link><description>最近在做一个数据统计，要求对一个表中的数据按照两个维度呈现，也就是传统的交叉表

比如，有一个问题表，有三个字段，（标题、问题类别、问题状态）

要求按照不同的类别，分别统计处各个状态的问题数量（如：产品问题中未处理的数量、服务问题中遗留问题数量等等）。

经过查找和尝试，终于生成了结果，现在分享给大家。

通过 Sql 2005 中的 Pivot 函数，可以方便的制作交叉表。

关于Pivot的用法，就不详细说了，大家可以百度一下，或者看sql server的帮助文档&lt;img src=&quot;http://www1.feedsky.com/t1/489659377/mmcgzs/csdn.net/s.gif?r=http://blog.csdn.net/mmcgzs/archive/2010/01/30/5273702.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/mmcgzs/489659377/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/mmcgzs/489659377/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sat, 30 Jan 2010 23:16:00 +0800</pubDate><author>潘刚</author><guid isPermaLink="false">http://blog.csdn.net/mmcgzs/archive/2010/01/30/5273702.aspx</guid><dc:creator>潘刚</dc:creator><fs:srclink>http://blog.csdn.net/mmcgzs/archive/2010/01/30/5273702.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/mmcgzs/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/mmcgzs/~1119544/489659377/1119540</fs:itemid></item><item><title>告别2009</title><link>http://blog.csdn.net/mmcgzs/archive/2010/01/10/5171238.aspx</link><description>&lt;br /&gt;2009年，转瞬即逝，但是还是需要留下一些记忆，简单概括为以下几个方面&lt;br /&gt;&lt;br /&gt;个人成长方面：&lt;br /&gt;1、对数据库优化方面积累了一些经验&lt;br /&gt;2、把Apache负载均衡应用到项目中&lt;br /&gt;3、对Activex编程有了初步了解。&lt;br /&gt;4、尝试了Asp.Net MVC，并应用到一个项目中。&lt;br /&gt;5、看了10多本书，有技术方面的、生活方面的、也有小说。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;生活方面：&lt;br /&gt;10月9日，领了结婚证，跨入已婚青年行列。&lt;br /&gt;12月19日，奶奶去世。&lt;br /&gt;&lt;br /&gt;不足的地方：&lt;br /&gt;1、对事情的总结能力有待提升&lt;br /&gt;2、需要自己发言时，不知道该说什么的情况依旧。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/489659378/mmcgzs/csdn.net/s.gif?r=http://blog.csdn.net/mmcgzs/archive/2010/01/10/5171238.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/mmcgzs/489659378/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/mmcgzs/489659378/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 10 Jan 2010 22:16:00 +0800</pubDate><author>潘刚</author><guid isPermaLink="false">http://blog.csdn.net/mmcgzs/archive/2010/01/10/5171238.aspx</guid><dc:creator>潘刚</dc:creator><fs:srclink>http://blog.csdn.net/mmcgzs/archive/2010/01/10/5171238.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/mmcgzs/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/mmcgzs/~1119544/489659378/1119540</fs:itemid></item><item><title>ContextBoundObject 上下文对象的用法</title><link>http://blog.csdn.net/mmcgzs/archive/2009/12/17/5028627.aspx</link><description>ContextBoundObject 上下文&lt;img src=&quot;http://www1.feedsky.com/t1/489659379/mmcgzs/csdn.net/s.gif?r=http://blog.csdn.net/mmcgzs/archive/2009/12/17/5028627.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/mmcgzs/489659379/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/mmcgzs/489659379/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 17 Dec 2009 23:55:00 +0800</pubDate><author>潘刚</author><guid isPermaLink="false">http://blog.csdn.net/mmcgzs/archive/2009/12/17/5028627.aspx</guid><dc:creator>潘刚</dc:creator><fs:srclink>http://blog.csdn.net/mmcgzs/archive/2009/12/17/5028627.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/mmcgzs/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/mmcgzs/~1119544/489659379/1119540</fs:itemid></item><item><title>fckeditor 上传文件报错处理方法</title><link>http://blog.csdn.net/mmcgzs/archive/2009/12/10/4978732.aspx</link><description>&lt;br /&gt;I had this problem as well. The problem is that it can't find the type of resource for upload. I assume that it should detect the resource type by file extension, but there is no code to do that.&lt;br /&gt;&lt;br /&gt;I fixed it by adding the resource type&quot;File&quot; in the config. I think this is a workaround, but it worked for me.&lt;br /&gt;&lt;br /&gt;So the link browser url looks somewhat like this (added Type=File&amp;):&lt;br /&gt;FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?&lt;img src=&quot;http://www1.feedsky.com/t1/489659380/mmcgzs/csdn.net/s.gif?r=http://blog.csdn.net/mmcgzs/archive/2009/12/10/4978732.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/mmcgzs/489659380/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/mmcgzs/489659380/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 10 Dec 2009 13:12:00 +0800</pubDate><author>潘刚</author><guid isPermaLink="false">http://blog.csdn.net/mmcgzs/archive/2009/12/10/4978732.aspx</guid><dc:creator>潘刚</dc:creator><fs:srclink>http://blog.csdn.net/mmcgzs/archive/2009/12/10/4978732.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/mmcgzs/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/mmcgzs/~1119544/489659380/1119540</fs:itemid></item><item><title>javascript检测 .net Framework</title><link>http://blog.csdn.net/mmcgzs/archive/2009/09/28/4612763.aspx</link><description>最近用.net开放了一个activex控件，由于控件本身需要安装.net framework 才能运行，所以需要知道用户机器上是否安装有.net framework。最好能够用js直接检测到，经过检测浏览器头，找到了一个方法。&lt;img src=&quot;http://www1.feedsky.com/t1/489659381/mmcgzs/csdn.net/s.gif?r=http://blog.csdn.net/mmcgzs/archive/2009/09/28/4612763.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/mmcgzs/489659381/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/mmcgzs/489659381/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 28 Sep 2009 23:11:00 +0800</pubDate><author>潘刚</author><guid isPermaLink="false">http://blog.csdn.net/mmcgzs/archive/2009/09/28/4612763.aspx</guid><dc:creator>潘刚</dc:creator><fs:srclink>http://blog.csdn.net/mmcgzs/archive/2009/09/28/4612763.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/mmcgzs/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/mmcgzs/~1119544/489659381/1119540</fs:itemid></item><item><title>使用Apache在windows2003下配置负载均衡实践</title><link>http://blog.csdn.net/mmcgzs/archive/2009/05/13/4174725.aspx</link><description>apache在windows2003下配置负载均衡，实现服务器压力分流&lt;img src=&quot;http://www1.feedsky.com/t1/489659382/mmcgzs/csdn.net/s.gif?r=http://blog.csdn.net/mmcgzs/archive/2009/05/13/4174725.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/mmcgzs/489659382/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/mmcgzs/489659382/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 13 May 2009 00:06:00 +0800</pubDate><author>潘刚</author><guid isPermaLink="false">http://blog.csdn.net/mmcgzs/archive/2009/05/13/4174725.aspx</guid><dc:creator>潘刚</dc:creator><fs:srclink>http://blog.csdn.net/mmcgzs/archive/2009/05/13/4174725.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/mmcgzs/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/mmcgzs/~1119544/489659382/1119540</fs:itemid></item><item><title>存储过程中调用 连接服务器中创建的外部服务器连接 “异类查询要求为连接设置 ANSI_NULLS 和 ANSI_WARNINGS 选项”  的解决办法</title><link>http://blog.csdn.net/mmcgzs/archive/2008/11/05/3224668.aspx</link><description>&lt;br /&gt;在建立存储过程中发出这样的提示：&lt;br /&gt;---------------------------&lt;br /&gt;Microsoft SQL-DMO （ODBC SQLState: 42000）&lt;br /&gt;---------------------------&lt;br /&gt;错误 7405: 异类查询要求为连接设置 ANSI_NULLS 和 ANSI_WARNINGS 选项。这将确保一致的查询语义。请启用这些选项，然后重新发出查询。&lt;br /&gt;---------------------------&lt;br /&gt;这个问题怎么解决呀，怎么才能启用这些选项呢？&lt;br /&gt;这种情况，一般是因为，在sqlserver中建立了针对其他数据库的链接，并且要在存储过程里面，调用该连接数据，直接创建存储过程汇报上面的错误，一种比较懒人的方法是，&lt;br /&gt;打开SQL查询分析器，将该存储过程代码，拷贝过来，直接执行，在这里系统会默认代上 ANSI_NULLS 和 ANSI_WARNINGS 的值，然后刷新企业管理器，就可以看到了，以后就可以正常的修改啦，呵呵&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/mmcgzs/489659383/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/mmcgzs/489659383/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 05 Nov 2008 11:06:00 +0800</pubDate><author>潘刚</author><guid isPermaLink="false">http://blog.csdn.net/mmcgzs/archive/2008/11/05/3224668.aspx</guid><dc:creator>潘刚</dc:creator><fs:srclink>http://blog.csdn.net/mmcgzs/archive/2008/11/05/3224668.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/mmcgzs/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/mmcgzs/~1119544/489659383/1119540</fs:itemid></item></channel></rss>
