<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>蝈蝈俊.net</title>
        <link>http://blog.joycode.com/ghj/Default.aspx</link>
        <description>      -- 用随笔来记录自己的技术感触</description>
        <language>zh-CHS</language>
        <copyright>ghj1976</copyright>
        <managingEditor>ghj1976@csdn.net</managingEditor>
        <generator>Joycode Version 1.0.0.0</generator>
        <image>
            <title>蝈蝈俊.net</title>
            <url>http://www.joycode.com/images/ghj1976/gravatar.aspx</url>
            <link>http://blog.joycode.com/ghj/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>动态封杀与解封IP</title>
            <category>技术随笔</category>
            <category>网站开发管理相关内容</category>
            <link>http://blog.joycode.com/ghj/archive/2008/05/07/115108.aspx</link>
            <description>摘要：我们在应对网站的恶意请求时候，一个解决方法就是把有问题的请求IP封杀掉。  如果想快速处理这种问题，就需要编写一段代码，达到一定门槛，自动封杀。再复杂点就是不是永久封杀，还可以自动在一定时间后解封。  封杀的逻辑代码看后面提供的。  需要说明的是：IIS7时，情况发生了不同。  &amp;#160;  下面的代码，在处理封杀IP时候，不论IIS6还是IIS7 都可以把需要封杀的IP加入封杀列表。但是需要注意的是我们代码写的是全部替换原先的数据。但是在IIS7下，执行的效果是原先的不替换，新加一批封杀IP。当然II...[&lt;a href=/ghj/archive/2008/05/07/115108.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/115108.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/05/07/115108.aspx</guid>
            <pubDate>Wed, 07 May 2008 02:37:19 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/115108.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/05/07/115108.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/115108.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/115108.aspx</trackback:ping>
        </item>
        <item>
            <title>每个分类取最新的几条的SQL实现</title>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/05/04/115104.aspx</link>
            <description>摘要：  分类统计时候，我们可能经常会碰到这样的需求，每个分类按照一定顺序，取几条数据，然后在一起显示。  这个问题的解决方法，我们通过搜索引擎，可以找到很多中。但是不是SQL语句过于复杂，就是在数据量比较大时候，性能特别成问题。  今天我就碰到这样一个需求。而我自己的解决方案就是SQL过于复杂，或者性能比较差的。为此我在CSDN论坛发了个帖子，看有没有更好的解决方案。  http://topic.csdn.net/u/20080504/14/5c5866c3-8b91-45ef-ab17-f994f88f8e...[&lt;a href=/ghj/archive/2008/05/04/115104.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/115104.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/05/04/115104.aspx</guid>
            <pubDate>Sun, 04 May 2008 07:31:47 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/115104.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/05/04/115104.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/115104.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/115104.aspx</trackback:ping>
        </item>
        <item>
            <title>【编程游戏】划拳机器人比赛</title>
            <category>.net 编程心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/04/24/115091.aspx</link>
            <description>摘要：CSDN 网友 zswang 组织了一个编程游戏比赛。划拳机器人比赛。类似&amp;#8220;Robocode&amp;#8221; 的游戏。   比赛相关帖子如下：  【编程游戏】编写一个会划拳的机器人参加擂台赛，规则内详。   http://topic.csdn.net/u/20080421/17/6a4d1c20-e1d1-4e9d-99ae-d648cb422ca6.html  【编程游戏】划拳机器人，前面一贴的机器人都集中来了，继续PK。谨慎路过。&amp;#160; http://topic.csdn.net/u/...[&lt;a href=/ghj/archive/2008/04/24/115091.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/115091.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/04/24/115091.aspx</guid>
            <pubDate>Thu, 24 Apr 2008 02:18:34 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/115091.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/04/24/115091.aspx#feedback</comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/115091.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/115091.aspx</trackback:ping>
        </item>
        <item>
            <title>如何用.net Remoting实现一个客户端需要连接多个服务器端？</title>
            <category>.net 3.0</category>
            <category>.net 3.5</category>
            <category>.net 编程心得</category>
            <category>技术随笔</category>
            <category>网站开发管理相关内容</category>
            <link>http://blog.joycode.com/ghj/archive/2008/04/18/115078.aspx</link>
            <description>摘要：  比如我们有下面的需求:  三台电脑:A,B,C。    我们在 B 和 C 上部署了同样的一个服务，电脑 A 需要根据客户端的选择，自动的切换到底是调用B的服务，还是C的服务。  要实现这个需求，核心就在客户端的调用上。下面我们用一个简单的演示这个功能的代码来说明如何实现。  &amp;#160;  首先：服务器段  服务器段逻辑，这是非常简单的，我们按照之前的.net编写规范，编写代码即可。熟悉.net Remoting 的完全可以跳过这部分。  下面是一段简单的服务器段逻辑代码  using System...[&lt;a href=/ghj/archive/2008/04/18/115078.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/115078.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/04/18/115078.aspx</guid>
            <pubDate>Fri, 18 Apr 2008 07:54:27 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/115078.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/04/18/115078.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/115078.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/115078.aspx</trackback:ping>
        </item>
        <item>
            <title>今天碰到了一个我非常佩服的售票员</title>
            <category>非技术随笔</category>
            <link>http://blog.joycode.com/ghj/archive/2008/04/10/115061.aspx</link>
            <description>摘要：我坐公交车的历史，已经有10多年了。今天早上坐852上班的路上，碰到了一个我非常佩服的售票员。佩服她的原因是因为这趟车上，我正好看到2件事情。而她对这两件事情的处理，让我非常有感触，非常有心得。  &amp;#160;  第一件事情是在望京时，有个乘客下车时，这个售票员走到一个乘客跟前，小声地跟他说了一些话。当时我还觉得很怪异。虽然我就离那个乘客不到2米的地方。但是我只能断断续续的听到几个词。并不明白在说啥。那个乘客下车后，另外一个售票员也觉得很怪异，问她时，她才说那个乘客拿的是学生卡。  那个乘客看起来，老大不...[&lt;a href=/ghj/archive/2008/04/10/115061.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/115061.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/04/10/115061.aspx</guid>
            <pubDate>Thu, 10 Apr 2008 00:49:13 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/115061.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/04/10/115061.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/115061.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/115061.aspx</trackback:ping>
        </item>
        <item>
            <title>Vista和Win2008中如何卸载IE8</title>
            <category>Vista 相关</category>
            <category>win2008</category>
            <category>网站开发管理相关内容</category>
            <link>http://blog.joycode.com/ghj/archive/2008/04/09/115056.aspx</link>
            <description>摘要：由于我之前装的英文版本的IE8，现在想换成中文版本的， 所以就需要写在原先的IE8 Beta1 英文版，但是按照正常的思路去找卸载的地方，竟然没有找到。考虑到很多人可能会有我类似的问题。特意写了这篇博客帮助大家。  卸载的位置：  控制面板 --&amp;gt; 程序和功能 --&amp;gt; 查看已安装的更新（注意，是在这里）  MIcrosoft Windows 分类下面有一个 Windows Internet Explorer 8 ，卸载它即可。    IE8 是以更新的方式安装的，而不是一个普通的程序。这点是要...[&lt;a href=/ghj/archive/2008/04/09/115056.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/115056.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/04/09/115056.aspx</guid>
            <pubDate>Wed, 09 Apr 2008 01:44:42 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/115056.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/04/09/115056.aspx#feedback</comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/115056.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/115056.aspx</trackback:ping>
        </item>
        <item>
            <title>Windows 2008安装体验</title>
            <category>技术随笔</category>
            <category>win2008</category>
            <link>http://blog.joycode.com/ghj/archive/2008/03/26/115026.aspx</link>
            <description>摘要：这几天，我家宝宝一直赖在老妈肚子里面，不出来。害得我每天上班都提心吊胆的，也没有工作热情。就等着宝宝出生，可是他就是赖着不出来。
于是，就把公司电脑重装成了中文版的Win2008。 安装一些软件过程中碰到了不少问题，特意整理成这篇博客，让后来着少走弯路。
 
一、显卡驱动的问题
我电脑的显卡是：NVIDIA GeForce 6200 TurboCache。 
GeForce 系列的显卡，在Window2008 下，最新的驱动反而不能用。 安装了最新的驱动后，你的显示器就会黑屏，没有任何治了。最新...[&lt;a href=/ghj/archive/2008/03/26/115026.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/115026.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/03/26/115026.aspx</guid>
            <pubDate>Wed, 26 Mar 2008 10:05:48 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/115026.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/03/26/115026.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/115026.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/115026.aspx</trackback:ping>
        </item>
        <item>
            <title>InternalServerError时 HttpWebRequest 的 GetResponse 方法处理策略</title>
            <category>.net 编程心得</category>
            <category>技术随笔</category>
            <category>网站开发管理相关内容</category>
            <link>http://blog.joycode.com/ghj/archive/2008/03/12/114957.aspx</link>
            <description>摘要：现象  我们编码实现请求一个页面时，请求的代码类似如下代码：HttpWebRequest req = (HttpWebRequest)WebRequest.Create(strUrl);req.UserAgent = "MSIE6.0";req.Method = "GET";HttpWebResponse res = (HttpWebResponse)req.GetResponse();StreamReader sr = new StreamReader(res.GetResponseStream(), ...[&lt;a href=/ghj/archive/2008/03/12/114957.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/114957.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/03/12/114957.aspx</guid>
            <pubDate>Wed, 12 Mar 2008 06:35:12 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/114957.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/03/12/114957.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/114957.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/114957.aspx</trackback:ping>
        </item>
        <item>
            <title>使用 StackTrace 获得更多跟 Exception 有关的信息</title>
            <category>.net 编程心得</category>
            <category>网站开发管理相关内容</category>
            <link>http://blog.joycode.com/ghj/archive/2008/03/05/114925.aspx</link>
            <description>摘要：不知你有没有留意过ASP.net的异常，如下图：  请留意图中用红笔标的地方。那些数字标明出错处位于源代码文件的多少行。 但是，我们通过 Exception.StackTrace 是获得不了这个信息的。这个信息是如何获得呢？这就要用到下面两个类：    System.Diagnostics.StackTrace 表示一个堆栈跟踪，它是一个或多个堆栈帧的有序集合。  System.Diagnostics.StackFrame 表示当前线程的调用堆栈中的一个函数调用 下面的代码就替我们扑捉了更多关于异常的信息...[&lt;a href=/ghj/archive/2008/03/05/114925.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/114925.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/03/05/114925.aspx</guid>
            <pubDate>Wed, 05 Mar 2008 01:42:28 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/114925.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/03/05/114925.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/114925.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/114925.aspx</trackback:ping>
        </item>
        <item>
            <title>其实编码使用代理服务器的门槛非常低</title>
            <category>.net 编程心得</category>
            <category>网站开发管理相关内容</category>
            <link>http://blog.joycode.com/ghj/archive/2008/02/21/114853.aspx</link>
            <description>摘要：&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 前面我写的“ASP.net 获得客户端的IP相关知识”博客中，有一个简单的例子，演示了如何客户端编码，修改 HTTP_VIA 和HTTP_X_FORWARDED_FOR ，进而让服务器无法了解你到底是否启用的代理服务器，以及启用的是代理服务器之后的你的真实IP地址。 结合上面的技术，编码使用代理服务器，其实是非常简单的。下面就是客户段的演示代码。比起上篇博客，只修改了几行。 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp...[&lt;a href=/ghj/archive/2008/02/21/114853.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/114853.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/02/21/114853.aspx</guid>
            <pubDate>Thu, 21 Feb 2008 06:53:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/114853.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/02/21/114853.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/114853.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/114853.aspx</trackback:ping>
        </item>
        <item>
            <title>那些HTTP头会被增加HTTP_前缀</title>
            <category>.net 编程心得</category>
            <category>网站开发管理相关内容</category>
            <link>http://blog.joycode.com/ghj/archive/2008/02/21/114851.aspx</link>
            <description>摘要：&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 上一篇博客：ASP.net 获得客户端的IP相关知识 中我提到了，如果你想编码更改 HTTP_VIA、HTTP_X_FORWARDED_FOR 的值，你需要客户端增加的HTTP Head为：VIA、X_FORWARDED_FOR。即，少个 "HTTP_" 前缀。那么，到底读取这些值时，那些HTTP头增加时候需要增加HTTP_前缀，那些又不需要呢？ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...[&lt;a href=/ghj/archive/2008/02/21/114851.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/114851.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/02/21/114851.aspx</guid>
            <pubDate>Thu, 21 Feb 2008 06:30:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/114851.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/02/21/114851.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/114851.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/114851.aspx</trackback:ping>
        </item>
        <item>
            <title>ASP.net 获得客户端的IP相关知识</title>
            <category>.net 编程心得</category>
            <category>网站开发管理相关内容</category>
            <link>http://blog.joycode.com/ghj/archive/2008/02/20/114827.aspx</link>
            <description>摘要：ASP.net 获得客户端的IP，最常见的是使用下述代码：string user_IP = System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
对于了解代理服务器情况的人，我们会知道，如果用户使用了代理服务器，上述代码获得的是代理服务器的IP地址；如果用户使用了多个代理服务器，则是到达服务器的最后一个代理服务器的IP地址。 
&amp;nbsp; REMOTE_ADDR 说明：
访问客户端的 IP 地址。 此项信息用户...[&lt;a href=/ghj/archive/2008/02/20/114827.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/114827.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/02/20/114827.aspx</guid>
            <pubDate>Wed, 20 Feb 2008 09:28:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/114827.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/02/20/114827.aspx#feedback</comments>
            <slash:comments>8</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/114827.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/114827.aspx</trackback:ping>
        </item>
        <item>
            <title>八年</title>
            <category>非技术随笔</category>
            <category>与CSDN有关的内容</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/24/114155.aspx</link>
            <description>摘要：&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 昨天，由Sisley Lin 处得知，我将被推荐成了“十大杰出开发技术英雄”候选人之一，有点激动。推荐的理由是我为CSDN 这个最大的中文技术社区的成长所贡献的这些年。当我回首看自己在CSDN经历时，发现自己已为CSDN公司工作了7年半，在CSDN 论坛活动了8年。蓦然回首，八年光阴已匆匆而过，心中真是感慨万千呀。 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 记得那是在99年底，2000年初时，我从大学...[&lt;a href=/ghj/archive/2008/01/24/114155.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/114155.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/24/114155.aspx</guid>
            <pubDate>Thu, 24 Jan 2008 01:50:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/114155.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/24/114155.aspx#feedback</comments>
            <slash:comments>32</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/114155.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/114155.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 索引基础知识(10)----Join 时的三种算法简介</title>
            <category>读书笔记</category>
            <category>技术随笔</category>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/23/114139.aspx</link>
            <description>摘要：我们书写查询语句的时候，Join 参数之前可以是下面三个 { LOOP | MERGE | HASH } JOIN&amp;nbsp; 。 如果不使用，则系统自己分析那种方式快，使用那种方式。 
这其实是SQL Server 联结时候使用的三种算法。尽管每种算法都并不是很复杂，但考虑到性能优化，在产品级的优化器实现时往往使用的是改进过的变种算法。譬如SQL Server 支持block nested loops、index nexted loops、sort-merge、hash join以及hash team...[&lt;a href=/ghj/archive/2008/01/23/114139.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/114139.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/23/114139.aspx</guid>
            <pubDate>Wed, 23 Jan 2008 08:13:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/114139.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/23/114139.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/114139.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/114139.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 索引基础知识(9)----Indexing for OR</title>
            <category>技术随笔</category>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/18/113897.aspx</link>
            <description>摘要：我们仍然是通过例子来理解OR运算符的特征
我们仍然使用 http://blog.joycode.com/ghj/archive/2008/01/18/113870.aspx 中的 member 表,这时候,这个表的索引如下:



名字
描述
列

member_corporation_link
nonclustered located on PRIMARY
corp_no

member_ident
clustered, unique, primary key located...[&lt;a href=/ghj/archive/2008/01/18/113897.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113897.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/18/113897.aspx</guid>
            <pubDate>Fri, 18 Jan 2008 06:35:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113897.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/18/113897.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113897.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113897.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 索引基础知识(8)--- 数据基本格式补充</title>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/18/113875.aspx</link>
            <description>摘要：我在SQL Server 索引基础知识系列中,第一篇就讲了记录数据的基本格式。那里主要讲解的是，数据库的最小读存单元：数据页。一个数据页是8K大小。 对于数据库来说，它不会每次有一个数据页变化后，就存到硬盘。而是变化达到一定数量级后才会作这个操作。 这时候，数据库并不是以数据页来作为操作单元，而是以64k的数据（8个数据页，一个区）作为操作单元。 区是管理空间的基本单位。一个区是八个物理上连续的页（即 64 KB）。这意味着 SQL Server 数据库中每 MB 有 16 个区。 为了使空间分配更有效，...[&lt;a href=/ghj/archive/2008/01/18/113875.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113875.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/18/113875.aspx</guid>
            <pubDate>Fri, 18 Jan 2008 03:17:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113875.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/18/113875.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113875.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113875.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 索引基础知识(7)----Indexing for AND</title>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/18/113870.aspx</link>
            <description>摘要：我们通过一个实例来看 有And 操作符时候的最常见的一种情况。我们有下面一个表，CREATE TABLE [dbo].[member](	[member_no] [dbo].[numeric_id] IDENTITY(1,1) NOT NULL,	[lastname] [dbo].[shortstring] NOT NULL,	[firstname] [dbo].[shortstring] NOT NULL,	[middleinitial] [dbo].[letter] NULL,	[street] [d...[&lt;a href=/ghj/archive/2008/01/18/113870.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113870.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/18/113870.aspx</guid>
            <pubDate>Fri, 18 Jan 2008 02:11:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113870.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/18/113870.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113870.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113870.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 索引基础知识(6)----索引的代价，使用场景</title>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/16/113812.aspx</link>
            <description>摘要：&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 前几天给同事培训了聚集索引，非聚集索引的知识后，在一个同事新作的项目中，竟然出现了滥用聚集索引的问题。看来没有培训最最基础的索引的意义，代价，使用场景，是一个非常大的失误。这篇博客就是从这个角度来罗列索引的基础知识。 &amp;nbsp; 使用索引的意义  索引在数据库中的作用类似于目录在书籍中的作用，用来提高查找信息的速度。  使用索引查找数据，无需对整表进行扫描，可以快速找到所需数据。 使用索引的代价  索引需要占用数据表以外的物理存储...[&lt;a href=/ghj/archive/2008/01/16/113812.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113812.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/16/113812.aspx</guid>
            <pubDate>Wed, 16 Jan 2008 06:33:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113812.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/16/113812.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113812.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113812.aspx</trackback:ping>
        </item>
        <item>
            <title>ASP.net 2.0 中 WebResource.axd 管理资源的一些知识点</title>
            <category>.net 编程心得</category>
            <category>技术随笔</category>
            <category>网站开发管理相关内容</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/14/113719.aspx</link>
            <description>摘要： 在 ASP.net 2.0 构建的Web页面中，查看源文件，我们经常会看到下面的Html文本  &amp;lt;script src="/WebResource.axd?d=QfRKDnWw93T08KaF3ioSKQ2&amp;amp;amp;t=633313193233609691" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;  &amp;lt;script src="/WebResource.axd?d=9iVKU5SS0wd5al1SYg8zjL8XXbP97LbENHerY4a...[&lt;a href=/ghj/archive/2008/01/14/113719.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113719.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/14/113719.aspx</guid>
            <pubDate>Mon, 14 Jan 2008 02:32:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113719.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/14/113719.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113719.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113719.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 索引基础知识(5)----理解newid()和newsequentialid()</title>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/09/113521.aspx</link>
            <description>摘要：在SQL Server 2005 中新增了一个函数:newsequentialid()，MSDN 中对这个函数的描述如下：
在指定计算机上创建大于先前通过该函数生成的任何 GUID 的 GUID。NEWSEQUENTIALID() 不能在查询中引用。NEWSEQUENTIALID() 只能与 uniqueidentifier 类型表列上的 DEFAULT 约束一起使用。
这个函数的具体用法在下面这篇博客中已经有详细的描述了。
使用NEWSEQUENTIALID解决GUID聚集索引问题http://w...[&lt;a href=/ghj/archive/2008/01/09/113521.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113521.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/09/113521.aspx</guid>
            <pubDate>Wed, 09 Jan 2008 01:13:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113521.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/09/113521.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113521.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113521.aspx</trackback:ping>
        </item>
        <item>
            <title>序列化,反序列化时低序位非打印 ASCII 字符的问题</title>
            <category>.net 编程心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/08/113514.aspx</link>
            <description>摘要： 最近碰到一个问题，我的一个把数据库中记录的信息暴露出来的Web Service调用时候出问题了。报下面的错误信息： System.InvalidOperationException was unhandled&amp;nbsp; Message="XML 文档(1, 823)中有错误。"&amp;nbsp; Source="System.Xml"&amp;nbsp;&amp;nbsp;&amp;nbsp; Message="“”(十六进制值 0x0E)是无效的字符。 行 1，位置 823。"&amp;nbsp;&amp;nbsp;&amp;nbsp; Source=...[&lt;a href=/ghj/archive/2008/01/08/113514.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113514.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/08/113514.aspx</guid>
            <pubDate>Tue, 08 Jan 2008 05:41:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113514.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/08/113514.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113514.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113514.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 索引基础知识(4)----主键与聚集索引</title>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/04/113373.aspx</link>
            <description>摘要：有些人可能对主键和聚集索引有所混淆，其实这两个是不同的概念，下面是一个简单的描述。不想看绕口文字者，直接看两者的对比表。尤其是最后一项的比较。 主键（PRIMARY KEY ） 来自MSDN的描述： 表通常具有包含唯一标识表中每一行的值的一列或一组列。这样的一列或多列称为表的主键 (PK)，用于强制表的实体完整性。在创建或修改表时，您可以通过定义 PRIMARY KEY 约束来创建主键。  一个表只能有一个 PRIMARY KEY 约束，并且 PRIMARY KEY 约束中的列不能接受空值。由于 PRIM...[&lt;a href=/ghj/archive/2008/01/04/113373.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113373.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/04/113373.aspx</guid>
            <pubDate>Fri, 04 Jan 2008 06:07:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113373.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/04/113373.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113373.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113373.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 索引基础知识(3)----测试中一些常看的指标和清除缓存的方法</title>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/04/113360.aspx</link>
            <description>摘要：之前的两篇博客中有2个例子，来演示要讲述的内容。其中提到了部分查看数据库状态的方法，那里并不是很全面，这篇博客罗列几个我们在后面系列博客中会用到查看这些状态，数据的地方。以及测试中清除缓存的方法。前面两篇博客的链接地址如下： SQL Server 索引基础知识(1)--- 记录数据的基本格式 http://blog.joycode.com/ghj/archive/2008/01/02/113290.aspx SQL Server 索引基础知识(2)----聚集索引，非聚集索引 http://blog.jo...[&lt;a href=/ghj/archive/2008/01/04/113360.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113360.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/04/113360.aspx</guid>
            <pubDate>Fri, 04 Jan 2008 02:34:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113360.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/04/113360.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113360.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113360.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 索引基础知识(2)----聚集索引，非聚集索引</title>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/02/113291.aspx</link>
            <description>摘要：由于需要给同事培训数据库的索引知识，就收集整理了这个系列的博客。发表在这里，也是对索引知识的一个总结回顾吧。通过总结，我发现自己以前很多很模糊的概念都清晰了很多。 不论是 聚集索引，还是非聚集索引，都是用B+树来实现的。我们在了解这两种索引之前，需要先了解B+树。如果你对B树不了解的话，建议参看以下几篇文章：BTree,B-Tree,B+Tree,B*Tree都是什么 http://blog.csdn.net/manesking/archive/2007/02/09/1505979.aspx  B+ 树的...[&lt;a href=/ghj/archive/2008/01/02/113291.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113291.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/02/113291.aspx</guid>
            <pubDate>Wed, 02 Jan 2008 06:38:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113291.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/02/113291.aspx#feedback</comments>
            <slash:comments>11</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113291.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113291.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server 索引基础知识(1)--- 记录数据的基本格式</title>
            <category>数据库开发管理心得</category>
            <link>http://blog.joycode.com/ghj/archive/2008/01/02/113290.aspx</link>
            <description>摘要：由于需要给同事培训数据库的索引知识，就收集整理了这个系列的博客。发表在这里，也是对索引知识的一个总结回顾吧。通过总结，我发现自己以前很多很模糊的概念都清晰了很多。 不论是缓存的数据信息，还是物理保存的信息，他们的基本单位都是数据页。所以理解数据页是最最基础的知识点，本篇博客就介绍跟索引有关的数据页的一些基础知识。 数据页的基础知识 SQL Server 中数据存储的基本单位是页（Page）。数据库中的数据文件（.mdf 或 .ndf）分配的磁盘空间可以从逻辑上划分成页（从 0 到 n 连续编号）。磁盘 I...[&lt;a href=/ghj/archive/2008/01/02/113290.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ghj/aggbug/113290.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>ghj1976</dc:creator>
            <guid>http://blog.joycode.com/ghj/archive/2008/01/02/113290.aspx</guid>
            <pubDate>Wed, 02 Jan 2008 06:35:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ghj/comments/113290.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ghj/archive/2008/01/02/113290.aspx#feedback</comments>
            <slash:comments>11</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ghj/comments/commentRss/113290.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ghj/services/trackbacks/113290.aspx</trackback:ping>
        </item>
    </channel>
</rss>