<?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/happyflystone" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/happyflystone" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 04 Nov 2010 09:03:00 GMT</lastBuildDate><title>Happyflystone　－　无枪狙击手</title><description>No one can go back and make a brand new start.</description><link>http://blog.csdn.net/blogrss.aspx?username=happyflystone</link><item><title>Group By一个不常用的用法</title><link>http://blog.csdn.net/happyflystone/archive/2010/11/04/5987769.aspx</link><description>乍一看，大家一定认为这有什么好写的呀，不就是group by [item]嘛，对指定列进行分组而已。我在这里说的是一个将被MS删除、不符合ISO语法的用法（大家可以在MS没有删除前显摆显摆嘛，至少2008没有删除）。好，那这是什么语法呢，那就是Group by ALL 。那它和不加ALL有什么差别呢？ 差别就是加了ALL后包含所有组和结果集，甚至包含那些其中任何行都不满足 WHERE 子句指定的搜索条件的组和结果集。注意的是指定了 ALL，将对组中不满足搜索条件的汇总列返回空值。&lt;img src=&quot;http://www1.feedsky.com/t1/432348552/happyflystone/csdn.net/s.gif?r=http://blog.csdn.net/happyflystone/archive/2010/11/04/5987769.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/happyflystone/432348552/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/happyflystone/432348552/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 04 Nov 2010 17:03:00 +0800</pubDate><author>dess</author><guid isPermaLink="false">http://blog.csdn.net/happyflystone/archive/2010/11/04/5987769.aspx</guid><dc:creator>dess</dc:creator><fs:srclink>http://blog.csdn.net/happyflystone/archive/2010/11/04/5987769.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/happyflystone/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/happyflystone/~1046843/432348552/1046843</fs:itemid></item><item><title>三值逻辑及NULL一点延伸</title><link>http://blog.csdn.net/happyflystone/archive/2010/11/04/5987754.aspx</link><description>在SQL的连接操作及搜索数据时使用聚合函数时，我们要注意三值逻辑的微妙之处，处理好三值逻辑还得提到一个关键点NULL值。在SQL中UNKNOWN值一般和NULL有关，也就是UNKNOWN值一般出现在包含在有NULL参与的表式中，在这儿大家一定要分清UNKNOWN作为表达式的值与NULL不是一个意思，不要混淆概念。&lt;img src=&quot;http://www1.feedsky.com/t1/432348100/happyflystone/csdn.net/s.gif?r=http://blog.csdn.net/happyflystone/archive/2010/11/04/5987754.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/happyflystone/432348100/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/happyflystone/432348100/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 04 Nov 2010 17:00:00 +0800</pubDate><author>dess</author><guid isPermaLink="false">http://blog.csdn.net/happyflystone/archive/2010/11/04/5987754.aspx</guid><dc:creator>dess</dc:creator><fs:srclink>http://blog.csdn.net/happyflystone/archive/2010/11/04/5987754.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/happyflystone/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/happyflystone/~1046843/432348100/1046843</fs:itemid></item><item><title>取得指定excel文件内的sheet数及每一个sheet的列数</title><link>http://blog.csdn.net/happyflystone/archive/2010/04/01/5442014.aspx</link><description>取得指定excel文件内的sheet数及每一个sheet的列数----------------------------------------------------------- happyflystone-- 2010.04-- 转载注明出处---&gt;http://blog.csdn.net/happyflystone-- 取得指定excel文件内的sheet数及每一个sheet的列数。------------------------------------------------------CREATEPROC sp_operate_excel@excelfilename NVARCHAR(100),@strErrorMessage VARCHAR(1000) OUTASBEGIN    SETNOCOUNTON    DECLARE @hr IN&lt;img src=&quot;http://www1.feedsky.com/t1/432348101/happyflystone/csdn.net/s.gif?r=http://blog.csdn.net/happyflystone/archive/2010/04/01/5442014.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/happyflystone/432348101/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/happyflystone/432348101/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 01 Apr 2010 16:22:00 +0800</pubDate><author>dess</author><guid isPermaLink="false">http://blog.csdn.net/happyflystone/archive/2010/04/01/5442014.aspx</guid><dc:creator>dess</dc:creator><fs:srclink>http://blog.csdn.net/happyflystone/archive/2010/04/01/5442014.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/happyflystone/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/happyflystone/~1046843/432348101/1046843</fs:itemid></item><item><title>FOR XML语法导出XML的易错之处</title><link>http://blog.csdn.net/happyflystone/archive/2010/03/12/5373898.aspx</link><description>原文地址：http://www.cnblogs.com/zhengyun_ustc/archive/2006/06/29/sqlxml_forxmlexplicit.html[SQLXML]FOR XML语法导出XML的易错之处&lt;br /&gt;Version&lt;br /&gt;Date&lt;br /&gt;Creator&lt;br /&gt;Description&lt;br /&gt;1.0.0.1&lt;br /&gt;2006-6-29&lt;br /&gt;郑昀@Ultrapower&lt;br /&gt;草稿&lt;br /&gt;&lt;br /&gt;继续阅读之前，我们假设您熟悉以下知识：&lt;br /&gt;n         MS SQL Server 2000&lt;br /&gt;n         Sp_makewebtask&lt;br /&gt;n         FOR XML 子句&lt;br /&gt;如果不熟悉这些知识点，可以看下面两小节[准备工作一：FOR XML]和[准备工作二：sp_makewebtask]；否则可以直接跳过。[准备工作一：FOR XML]&lt;br /&gt;关键词：      FOR XML AUTO/EXPLICIT。&lt;br /&gt;功能：          可以对现有的关系数据库&lt;img src=&quot;http://www1.feedsky.com/t1/432348102/happyflystone/csdn.net/s.gif?r=http://blog.csdn.net/happyflystone/archive/2010/03/12/5373898.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/happyflystone/432348102/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/happyflystone/432348102/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 12 Mar 2010 14:17:00 +0800</pubDate><author>dess</author><guid isPermaLink="false">http://blog.csdn.net/happyflystone/archive/2010/03/12/5373898.aspx</guid><dc:creator>dess</dc:creator><fs:srclink>http://blog.csdn.net/happyflystone/archive/2010/03/12/5373898.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/happyflystone/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/happyflystone/~1046843/432348102/1046843</fs:itemid></item><item><title>SQL2005中的事务与锁定（九）--2</title><link>http://blog.csdn.net/happyflystone/archive/2010/01/20/5216689.aspx</link><description>SQL2005中的事务与锁定（九）
(二)
------------------------------------------------------------------------
-- Author : HappyFlyStone 
-- Date   : 2010-01-18 22：00
-- Version: Microsoft SQL Server 2005 - 9.00.2047.00 (Intel X86) 
--      	Apr 14 2006 01:12:25 
--      	Copyright (c) 1988-2005 Microsoft Corporation
--      	Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
--       转载请注明出处，更多请关注：http://blog.csdn.net/happyflystone
--       关键字：行版本存储二、tempdb
--------------------------&lt;img src=&quot;http://www1.feedsky.com/t1/432348103/happyflystone/csdn.net/s.gif?r=http://blog.csdn.net/happyflystone/archive/2010/01/20/5216689.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/happyflystone/432348103/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/happyflystone/432348103/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 20 Jan 2010 13:12:00 +0800</pubDate><author>dess</author><guid isPermaLink="false">http://blog.csdn.net/happyflystone/archive/2010/01/20/5216689.aspx</guid><dc:creator>dess</dc:creator><fs:srclink>http://blog.csdn.net/happyflystone/archive/2010/01/20/5216689.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/happyflystone/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/happyflystone/~1046843/432348103/1046843</fs:itemid></item><item><title>剖析SQLSERVER2005的页面结构--行类型篇一</title><link>http://blog.csdn.net/happyflystone/archive/2009/12/09/4969909.aspx</link><description>行(和我平常说的表的记录行有点差别哦，注意理解)简单的可理解为数据库物理存储的表、索引及其它类型的数据的基本单元。当然行结构远不止如下说明的那么简单，更深入的有待再度剖析，比如打开行版本后slot记录就会多出14个字节的xsn。&lt;img src=&quot;http://www1.feedsky.com/t1/432348104/happyflystone/csdn.net/s.gif?r=http://blog.csdn.net/happyflystone/archive/2009/12/09/4969909.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/happyflystone/432348104/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/happyflystone/432348104/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 09 Dec 2009 10:40:00 +0800</pubDate><author>dess</author><guid isPermaLink="false">http://blog.csdn.net/happyflystone/archive/2009/12/09/4969909.aspx</guid><dc:creator>dess</dc:creator><fs:srclink>http://blog.csdn.net/happyflystone/archive/2009/12/09/4969909.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/happyflystone/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/happyflystone/~1046843/432348104/1046843</fs:itemid></item><item><title>剖析SQLSERVER2005的页面结构--表修改的内部处理篇</title><link>http://blog.csdn.net/happyflystone/archive/2009/12/02/4923803.aspx</link><description>本篇介绍一下当我们通过alter table来修改数据表的列类型时因SQLSERVER只检查不修改数据而造成让大家迷惑的假象，或说是让人费解的地方。在这里我们只介绍三种情况：一增加列(有无缺省)；二，删除列；三修改列；在大多数的情况下，SQLSERVER只要修改元数据而可能不会去触碰页面上的物理数据，所以如果我们通过dbcc page来查看页面的内容时会有点让人晕头转向，下面们先简单的说三种情况，最后做一些的解释。&lt;img src=&quot;http://www1.feedsky.com/t1/432348105/happyflystone/csdn.net/s.gif?r=http://blog.csdn.net/happyflystone/archive/2009/12/02/4923803.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/happyflystone/432348105/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/happyflystone/432348105/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 02 Dec 2009 13:29:00 +0800</pubDate><author>dess</author><guid isPermaLink="false">http://blog.csdn.net/happyflystone/archive/2009/12/02/4923803.aspx</guid><dc:creator>dess</dc:creator><fs:srclink>http://blog.csdn.net/happyflystone/archive/2009/12/02/4923803.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/happyflystone/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/happyflystone/~1046843/432348105/1046843</fs:itemid></item><item><title>SQL2005中的事务与锁定（九）</title><link>http://blog.csdn.net/happyflystone/archive/2009/11/19/4834762.aspx</link><description>SQL2005中的事务与锁定（九）(一)-------------------------------------------------------------------------- Author : HappyFlyStone -- Date   : 2009-11-09-- Version: Microsoft SQL Server 2005 - 9.00.2047.00 (Intel X86) --      Apr 14 2006 01:12:25 --      Copyright (c) 1988-2005 Microsoft Corporation--      Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)--       转载请注明出处，更多请关注：http://blog.csdn.net/happyflystone--       关&lt;img src=&quot;http://www1.feedsky.com/t1/432348106/happyflystone/csdn.net/s.gif?r=http://blog.csdn.net/happyflystone/archive/2009/11/19/4834762.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/happyflystone/432348106/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/happyflystone/432348106/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 19 Nov 2009 13:57:00 +0800</pubDate><author>dess</author><guid isPermaLink="false">http://blog.csdn.net/happyflystone/archive/2009/11/19/4834762.aspx</guid><dc:creator>dess</dc:creator><fs:srclink>http://blog.csdn.net/happyflystone/archive/2009/11/19/4834762.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/happyflystone/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/happyflystone/~1046843/432348106/1046843</fs:itemid></item><item><title>转：经典Excel VBA代码</title><link>http://blog.csdn.net/happyflystone/archive/2009/11/15/4813425.aspx</link><description>转：经典Excel VBA代码&lt;img src=&quot;http://www1.feedsky.com/t1/432348107/happyflystone/csdn.net/s.gif?r=http://blog.csdn.net/happyflystone/archive/2009/11/15/4813425.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/happyflystone/432348107/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/happyflystone/432348107/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 15 Nov 2009 19:02:00 +0800</pubDate><author>dess</author><guid isPermaLink="false">http://blog.csdn.net/happyflystone/archive/2009/11/15/4813425.aspx</guid><dc:creator>dess</dc:creator><fs:srclink>http://blog.csdn.net/happyflystone/archive/2009/11/15/4813425.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/happyflystone/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/happyflystone/~1046843/432348107/1046843</fs:itemid></item><item><title>SQL2000下非sysadmin固定服务器角色的成员执行xp_cmdshell</title><link>http://blog.csdn.net/happyflystone/archive/2009/11/11/4798786.aspx</link><description>SQL2000下非sysadmin固定服务器角色的成员执行xp_cmdshell&lt;img src=&quot;http://www1.feedsky.com/t1/432348108/happyflystone/csdn.net/s.gif?r=http://blog.csdn.net/happyflystone/archive/2009/11/11/4798786.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/happyflystone/432348108/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/happyflystone/432348108/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 11 Nov 2009 16:07:00 +0800</pubDate><author>dess</author><guid isPermaLink="false">http://blog.csdn.net/happyflystone/archive/2009/11/11/4798786.aspx</guid><dc:creator>dess</dc:creator><fs:srclink>http://blog.csdn.net/happyflystone/archive/2009/11/11/4798786.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/happyflystone/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/happyflystone/~1046843/432348108/1046843</fs:itemid></item></channel></rss>
