<?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:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/arrow_gx" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/arrow_gx" type="application/rss+xml"></fs:self_link><lastBuildDate>Mon, 01 Jun 2009 13:26:00 GMT</lastBuildDate><title>arrow_gx的专栏</title><link>http://blog.csdn.net/arrow_gx/</link><item><title>sql2008安装问题-----sql browser 无法启动终极解决办法</title><link>http://blog.csdn.net/arrow_gx/archive/2009/06/01/4232335.aspx</link><wfw:comment>http://blog.csdn.net/arrow_gx/comments/4232335.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/arrow_gx/comments/commentRss/4232335.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4232335</trackback:ping><description>&lt;br /&gt;这几天在几台不同的服务器上安装 sql2008 ，其中一台服务器安装顺利，其他几台都安装不上，都是提示 sql browser 无法启动，这几台机器硬件配置一模一样，系统都是比较单纯的，没有安装什么软件，研究N久，一点头绪都找不到，简直要抓狂啊 &lt;br /&gt;&lt;br /&gt;冷静，冷静，碰到这样的问题一定要冷静，仔细分析，还好有一台成功装上了，有可对比分析的对象 &lt;br /&gt;&lt;br /&gt;狂查几台机器的差异，服务、端口、防火墙、IP安全策略、已安装的软件、补丁.....&lt;br /&gt;&lt;br /&gt;等等，好像在检查已安装补丁的时候发现有点差异&lt;br /&gt;msxml6补丁？？已安装上的服务器没有这个补丁？？？.... 再检查其他几台没装上的服务器......&lt;br /&gt;&lt;br /&gt;呵呵，后来详细对比了能安装上的机器，发现它和其他机器的区别就只是一个微软的安全补丁没安装，其他的都安装上了，试着把这个补丁删掉，再重装一次 sql2008 ，竟然顺利成功了，再试另外几台，也同样成功了，郁闷啊，原来是微软自己的东西在打架...... &lt;br /&gt;&lt;br /&gt;这个对于 sql2008安装来说，罪&lt;img src =&quot;http://blog.csdn.net/arrow_gx/aggbug/4232335.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/225495295/arrow_gx/csdn.net/s.gif?r=http://blog.csdn.net/arrow_gx/archive/2009/06/01/4232335.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/arrow_gx/225495295/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/arrow_gx/225495295/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 01 Jun 2009 21:26:00 +0800</pubDate><author>arrow_gx</author><comments>http://blog.csdn.net/arrow_gx/archive/2009/06/01/4232335.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/arrow_gx/archive/2009/06/01/4232335.aspx</guid><dc:creator>arrow_gx</dc:creator><fs:srclink>http://blog.csdn.net/arrow_gx/archive/2009/06/01/4232335.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/arrow_gx/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/arrow_gx/~7361893/225495295/5471399</fs:itemid></item><item><title>锁概念 以及 例程说明</title><link>http://blog.csdn.net/arrow_gx/archive/2009/03/19/4004938.aspx</link><wfw:comment>http://blog.csdn.net/arrow_gx/comments/4004938.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/arrow_gx/comments/commentRss/4004938.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4004938</trackback:ping><description>&lt;br /&gt;锁的概述 &lt;br /&gt;&lt;br /&gt;一. 为什么要引入锁 &lt;br /&gt;&lt;br /&gt;多个用户同时对数据库的并发操作时会带来以下数据不一致的问题: &lt;br /&gt;&lt;br /&gt;丢失更新&lt;br /&gt;A,B两个用户读同一数据并进行修改,其中一个用户的修改结果破坏了另一个修改的结果,比如订票系统 &lt;br /&gt;&lt;br /&gt;脏读&lt;br /&gt;A用户修改了数据,随后B用户又读出该数据,但A用户因为某些原因取消了对数据的修改,数据恢复原值,此时B得到的数据就与数据库内的数据产生了不一致 &lt;br /&gt;&lt;br /&gt;不可重复读&lt;br /&gt;A用户读取数据,随后B用户读出该数据并修改,此时A用户再读取数据时发现前后两次的值不一致 &lt;br /&gt;&lt;br /&gt;并发控制的主要方法是封锁,锁就是在一段时间内禁止用户做某些操作以避免产生数据不一致 &lt;br /&gt;&lt;br /&gt;二 锁的分类 &lt;br /&gt;&lt;br /&gt;锁的类别有两种分法： &lt;br /&gt;&lt;br /&gt;1. 从数据库系统的角度来看：分为独占锁（即排它锁），共享锁和更新锁 &lt;br /&gt;&lt;br /&gt;MS-SQL Server 使用以下资源锁模式。 &lt;br /&gt;&lt;br /&gt;锁&lt;img src =&quot;http://blog.csdn.net/arrow_gx/aggbug/4004938.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/arrow_gx/225495296/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/arrow_gx/225495296/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 20 Mar 2009 00:28:00 +0800</pubDate><author>arrow_gx</author><comments>http://blog.csdn.net/arrow_gx/archive/2009/03/19/4004938.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/arrow_gx/archive/2009/03/19/4004938.aspx</guid><dc:creator>arrow_gx</dc:creator><fs:srclink>http://blog.csdn.net/arrow_gx/archive/2009/03/19/4004938.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/arrow_gx/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/arrow_gx/~7361893/225495296/5471399</fs:itemid></item><item><title>表变量自动增加字段、主键的定义+exists使用例子</title><link>http://blog.csdn.net/arrow_gx/archive/2008/06/09/2527641.aspx</link><wfw:comment>http://blog.csdn.net/arrow_gx/comments/2527641.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/arrow_gx/comments/commentRss/2527641.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2527641</trackback:ping><description>&lt;br /&gt;--表变量定义自动增加字段，定义主键&lt;br /&gt;DECLARE @tmp2 table(id int IDENTITY(1,1),id2 int primary key(id))insert into @tmp2(id2) select top 100 id from book order by idselect * from @tmp2 order by id &lt;br /&gt;--指定一个子查询，测试行是否存在 &lt;br /&gt;select t.id from book t where exists(select 1 from @tmp2 where id2=t.id )&lt;img src =&quot;http://blog.csdn.net/arrow_gx/aggbug/2527641.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/arrow_gx/225495297/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/arrow_gx/225495297/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 10 Jun 2008 01:31:00 +0800</pubDate><author>arrow_gx</author><comments>http://blog.csdn.net/arrow_gx/archive/2008/06/09/2527641.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/arrow_gx/archive/2008/06/09/2527641.aspx</guid><dc:creator>arrow_gx</dc:creator><fs:srclink>http://blog.csdn.net/arrow_gx/archive/2008/06/09/2527641.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/arrow_gx/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/arrow_gx/~7361893/225495297/5471399</fs:itemid></item><item><title>SQL Server锁类型(SQL)</title><link>http://blog.csdn.net/arrow_gx/archive/2008/06/01/2501368.aspx</link><wfw:comment>http://blog.csdn.net/arrow_gx/comments/2501368.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/arrow_gx/comments/commentRss/2501368.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2501368</trackback:ping><description>1． HOLDLOCK: 在该表上保持共享锁，直到整个事务结束，而不是在语句执行完立即释放所添加的锁。　　 &lt;br /&gt;　　2． NOLOCK：不添加共享锁和排它锁，当这个选项生效后，可能读到未提交读的数据或“脏数据”，这个选项仅仅应用于SELECT语句。　　 &lt;br /&gt;　　3． PAGLOCK：指定添加页锁（否则通常可能添加表锁）。　 &lt;br /&gt;　　4． READCOMMITTED用与运行在提交读隔离级别的事务相同的锁语义执行扫描。默认情况下，SQL Server 2000 在此隔离级别上操作。。　 &lt;br /&gt;　　5． READPAST: 跳过已经加锁的数据行，这个选项将使事务读取数据时跳过那些已经被其他事务锁定的数据行，而不是阻塞直到其他事务释放锁，READPAST仅仅应用于READ COMMITTED隔离性级别下事务操作中的SELECT语句操作。　　 &lt;br /&gt;　　6． READUNCOMMITTED：等同于NOLOCK。　　 &lt;br /&gt;　　7． REPEATABLEREAD：设置事务为可重复读隔离性级别。　 &lt;br /&gt;　　8． ROWLOCK：使用行级锁，而不使用粒&lt;img src =&quot;http://blog.csdn.net/arrow_gx/aggbug/2501368.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/arrow_gx/225495298/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/arrow_gx/225495298/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 02 Jun 2008 03:10:00 +0800</pubDate><author>arrow_gx</author><comments>http://blog.csdn.net/arrow_gx/archive/2008/06/01/2501368.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/arrow_gx/archive/2008/06/01/2501368.aspx</guid><dc:creator>arrow_gx</dc:creator><fs:srclink>http://blog.csdn.net/arrow_gx/archive/2008/06/01/2501368.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/arrow_gx/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/arrow_gx/~7361893/225495298/5471399</fs:itemid></item><item><title>SQL SERVER 2005 同步复制技术</title><link>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493486.aspx</link><wfw:comment>http://blog.csdn.net/arrow_gx/comments/2493486.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/arrow_gx/comments/commentRss/2493486.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2493486</trackback:ping><description>SQL SERVER 2005 同步复制技术 &lt;br /&gt;&lt;br /&gt;以下实现复制步骤（以快照复制为例） &lt;br /&gt;&lt;br /&gt;运行平台SQL SERVER 2005 &lt;br /&gt;&lt;br /&gt;一、准备工作： &lt;br /&gt;&lt;br /&gt;1．建立一个 WINDOWS 用户，设置为管理员权限，并设置密码，作为发布快照文件的有效访问用户。 &lt;br /&gt;&lt;br /&gt;2．在SQL SERVER下实现发布服务器和订阅服务器的通信正常（即可以互访）。打开1433端口，在防火墙中设特例 &lt;br /&gt;&lt;br /&gt;3．在发布服务器上建立一个共享目录，作为发布快照文件的存放目录。例如：在D盘根目录下建文件夹名为SqlCopy &lt;br /&gt;&lt;br /&gt;4．设置SQL 代理（发布服务器和订阅服务器均设置）本篇文章发表于www.xker.com(小新技术网) &lt;br /&gt;&lt;br /&gt;打开服务(控制面板---管理工具---服务) &lt;br /&gt;&lt;br /&gt;---右击SQLSERVER AGENT---属性---登录---选择“此帐户“ &lt;br /&gt;&lt;br /&gt;---输入或选择第一步中创建的WINDOWS 用户 &lt;img src =&quot;http://blog.csdn.net/arrow_gx/aggbug/2493486.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/arrow_gx/225495299/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/arrow_gx/225495299/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 29 May 2008 23:18:00 +0800</pubDate><author>arrow_gx</author><comments>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493486.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493486.aspx</guid><dc:creator>arrow_gx</dc:creator><fs:srclink>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493486.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/arrow_gx/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/arrow_gx/~7361893/225495299/5471399</fs:itemid></item><item><title>SQLServer2000同步复制技术实现步骤</title><link>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493454.aspx</link><wfw:comment>http://blog.csdn.net/arrow_gx/comments/2493454.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/arrow_gx/comments/commentRss/2493454.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2493454</trackback:ping><description>SQLServer2000同步复制技术实现步骤 &lt;br /&gt;作者:gaojier 日期:2007-06-25 &lt;br /&gt;字体大小: 小 中 大 &lt;br /&gt;一、 预备工作 &lt;br /&gt;1.发布服务器,订阅服务器都创建一个同名的windows用户,并设置相同的密码,做为发布快照文件夹的有效访问用户 &lt;br /&gt;--管理工具 &lt;br /&gt;--计算机管理 &lt;br /&gt;--用户和组 &lt;br /&gt;--右键用户 &lt;br /&gt;--新建用户 &lt;br /&gt;--建立一个隶属于administrator组的登陆windows的用户（SynUser） &lt;br /&gt;2.在发布服务器上,新建一个共享目录,做为发布的快照文件的存放目录,操作: &lt;br /&gt;我的电脑--D:\ 新建一个目录,名为: PUB &lt;br /&gt;--右键这个新建的目录 &lt;br /&gt;--属性--共享 &lt;br /&gt;--选择&quot;共享该文件夹&quot; &lt;br /&gt;--通过&quot;权限&quot;按纽来设置具体的用户权限,保证第一步中创建的用户(SynUser) 具有对该文件夹的所有权限 &lt;br /&gt;--确定 &lt;br /&gt;3.设置SQL代理(SQLSERVERAGENT)服务&lt;img src =&quot;http://blog.csdn.net/arrow_gx/aggbug/2493454.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/arrow_gx/225495300/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/arrow_gx/225495300/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 29 May 2008 23:09:00 +0800</pubDate><author>arrow_gx</author><comments>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493454.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493454.aspx</guid><dc:creator>arrow_gx</dc:creator><fs:srclink>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493454.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/arrow_gx/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/arrow_gx/~7361893/225495300/5471399</fs:itemid></item><item><title>用强制订阅实现数据库同步操作</title><link>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493445.aspx</link><wfw:comment>http://blog.csdn.net/arrow_gx/comments/2493445.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/arrow_gx/comments/commentRss/2493445.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2493445</trackback:ping><description>用强制订阅实现数据库同步操作 
大量和批量的数据可以用数据库的同步机制处理
说明：为方便操作,所有操作均在发布服务器(分发服务器)上操作,并使用推模式&lt;img src =&quot;http://blog.csdn.net/arrow_gx/aggbug/2493445.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/arrow_gx/225495301/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/arrow_gx/225495301/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 29 May 2008 23:07:00 +0800</pubDate><author>arrow_gx</author><comments>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493445.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493445.aspx</guid><dc:creator>arrow_gx</dc:creator><fs:srclink>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2493445.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/arrow_gx/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/arrow_gx/~7361893/225495301/5471399</fs:itemid></item><item><title>Lumigent Log Explorer 使用方法</title><link>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2492649.aspx</link><wfw:comment>http://blog.csdn.net/arrow_gx/comments/2492649.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/arrow_gx/comments/commentRss/2492649.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2492649</trackback:ping><description>前言本文通过一个Bug的分析、解决，概述了使用Lumigent Log Explorer对SQL Server的事务日志进行分析的方法，以及常见的数据库误操作后的恢复、撤销方法 Bug描述 网站的文章模块有一个评分的功能： 用户选择1-5分，点击提交后，文章的评分次数(Stars) + 1、总分(StarTotal) + 分数、平均分(StarAvg) = 新总分 / 新评分次数 文章页面显示用户的平均分以及评分次数 评分功能中用户最多打5分，最少打1分，某日忽然发现有的文章平均分竟然大于5，很不可思议。出现这个问题，大致的原因大不过有： 实现评分逻辑的页面没有验证传入的分数是否合法、有些用户直接提交他们想要的分数来作弊； 评分逻辑无误，但计算平均分的算法错误 &lt;br /&gt;经检查，评分模块不仅验证了分数范围，而且验证了访问来源，用户根本不可能通过提交他们想要的分数达到修改平均分的目的；平均分算法也没有问题。&lt;br /&gt;这就奇怪了，只能先查看一下SQL Ser&lt;img src =&quot;http://blog.csdn.net/arrow_gx/aggbug/2492649.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/arrow_gx/225495302/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/arrow_gx/225495302/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 29 May 2008 19:04:00 +0800</pubDate><author>arrow_gx</author><comments>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2492649.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/arrow_gx/archive/2008/05/29/2492649.aspx</guid><dc:creator>arrow_gx</dc:creator><fs:srclink>http://blog.csdn.net/arrow_gx/archive/2008/05/29/2492649.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/arrow_gx/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/arrow_gx/~7361893/225495302/5471399</fs:itemid></item><item><title>having 的用法</title><link>http://blog.csdn.net/arrow_gx/archive/2008/05/28/2491197.aspx</link><wfw:comment>http://blog.csdn.net/arrow_gx/comments/2491197.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/arrow_gx/comments/commentRss/2491197.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2491197</trackback:ping><description>&lt;br /&gt;指定组或聚合的搜索条件。HAVING 只能与 SELECT 语句一起使用。HAVING 通常在 GROUP BY 子句中使用。如果不使用 GROUP BY 子句，则 HAVING 的行为与 WHERE 子句一样。 &lt;br /&gt;以WHERE 不同的地方在于，having可以在条件里面带聚合函数 sum ,count &lt;br /&gt;比如：&lt;br /&gt;select * from book where authorid in (select authorid from book group by authorid having sum(renqi)&gt;10000 )  &lt;img src =&quot;http://blog.csdn.net/arrow_gx/aggbug/2491197.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/arrow_gx/225495303/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/arrow_gx/225495303/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 29 May 2008 01:42:00 +0800</pubDate><author>arrow_gx</author><comments>http://blog.csdn.net/arrow_gx/archive/2008/05/28/2491197.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/arrow_gx/archive/2008/05/28/2491197.aspx</guid><dc:creator>arrow_gx</dc:creator><fs:srclink>http://blog.csdn.net/arrow_gx/archive/2008/05/28/2491197.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/arrow_gx/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/arrow_gx/~7361893/225495303/5471399</fs:itemid></item><item><title>SQL Server 2005中解决死锁问题</title><link>http://blog.csdn.net/arrow_gx/archive/2008/05/26/2483155.aspx</link><wfw:comment>http://blog.csdn.net/arrow_gx/comments/2483155.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/arrow_gx/comments/commentRss/2483155.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2483155</trackback:ping><description>SQL Server 2005中解决死锁问题 &lt;br /&gt;&lt;br /&gt;数据库操作的死锁是不可避免的，本文并不打算讨论死锁如何产生，重点在于解决死锁，通过SQL Server 2005, 现在似乎有了一种新的解决办法。  &lt;br /&gt;&lt;br /&gt;将下面的SQL语句放在两个不同的连接里面，并且在5秒内同时执行，将会发生死锁。  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;use Northwind &lt;br /&gt;begin tran &lt;br /&gt;　　insert into Orders(CustomerId) values(@#ALFKI@#) &lt;br /&gt;　　waitfor delay @#00:00:05@# &lt;br /&gt;　　select * from Orders where CustomerId = @#ALFKI@# &lt;br /&gt;commit &lt;br /&gt;print @#e&lt;img src =&quot;http://blog.csdn.net/arrow_gx/aggbug/2483155.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/arrow_gx/225495304/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/arrow_gx/225495304/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 27 May 2008 00:59:00 +0800</pubDate><author>arrow_gx</author><comments>http://blog.csdn.net/arrow_gx/archive/2008/05/26/2483155.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/arrow_gx/archive/2008/05/26/2483155.aspx</guid><dc:creator>arrow_gx</dc:creator><fs:srclink>http://blog.csdn.net/arrow_gx/archive/2008/05/26/2483155.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/arrow_gx/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/arrow_gx/~7361893/225495304/5471399</fs:itemid></item></channel></rss>