<?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/CathySun118" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/CathySun118" type="application/rss+xml"></fs:self_link><lastBuildDate>Tue, 30 Jun 2009 11:44:00 GMT</lastBuildDate><title>CathySun118的专栏</title><description>春有百花秋有月，夏有凉风冬有雪；若无闲事挂心头，便是人间好时节。</description><link>http://blog.csdn.net/CathySun118/</link><item><title>调试SQL SERVER存储过程</title><link>http://blog.csdn.net/CathySun118/archive/2009/06/30/4309332.aspx</link><wfw:comment>http://blog.csdn.net/CathySun118/comments/4309332.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/CathySun118/comments/commentRss/4309332.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4309332</trackback:ping><description>&lt;br /&gt;调试存储过程&lt;br /&gt;
出自：http://hi.baidu.com/fuhengyu/blog/item/0d7dbc4c624041fdd72afcbe.html&lt;br /&gt;
相关：在Visual Studio 2005中调试SQL Server 2005的存储过程&lt;br /&gt;&lt;br /&gt;
    学习内容：考察如何在Visual Studio的Server Explorer里进入存储过程并设置断点.当ASP.NET程序调用该存储过程时就会执行到该断点.&lt;br /&gt;    Visual
Studio有很多的调试功能.可以使用断点(breakpoints)来打断某个程序的执行，并查看其状态.除了调试代码以外，Visual
Studio也支持对SQL Server里面的存储过程进行调试.就像可以在ASP.NET页面的后台代码类或Business Logic
Layer class类里设置断点一样，也可以在存储过程里设置断点. 注意：能在Visual Studio的Professional和Team Systems版本里才能对存储过程设置断点.&lt;br /&gt;SQL&lt;img src =&quot;http://blog.csdn.net/CathySun118/aggbug/4309332.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238960134/CathySun118/csdn.net/s.gif?r=http://blog.csdn.net/CathySun118/archive/2009/06/30/4309332.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/CathySun118/238960134/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/CathySun118/238960134/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 30 Jun 2009 19:44:00 +0800</pubDate><author>cathysun118</author><comments>http://blog.csdn.net/CathySun118/archive/2009/06/30/4309332.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/CathySun118/archive/2009/06/30/4309332.aspx</guid><dc:creator>cathysun118</dc:creator><fs:srclink>http://blog.csdn.net/CathySun118/archive/2009/06/30/4309332.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/CathySun118/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/CathySun118/~1139153/238960134/1139141</fs:itemid></item><item><title>B2B,B2C,C2C的区别</title><link>http://blog.csdn.net/CathySun118/archive/2009/06/29/4307636.aspx</link><wfw:comment>http://blog.csdn.net/CathySun118/comments/4307636.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/CathySun118/comments/commentRss/4307636.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4307636</trackback:ping><description>电子商务有三种模式：&lt;br /&gt;&lt;br /&gt;
1.B2B（business to business），即企业对企业的电子商务。目前世界上最大的B2B网站是“阿里巴巴”。&lt;br /&gt;&lt;br /&gt;
2.B2C（business to customer），即企业对消费者的电子商务。“联华网上购物中心”、“85818”、“Dell”等在线购物网站都属于这种模式。&lt;br /&gt;&lt;br /&gt;
3.C2C（customer to customer），即消费者对消费者的电子商务。世界上最大的C2C网站是“ebay”，中国最具代表性的C2C网站是“ebay易趣”和“淘宝网”。&lt;img src =&quot;http://blog.csdn.net/CathySun118/aggbug/4307636.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238654311/CathySun118/csdn.net/s.gif?r=http://blog.csdn.net/CathySun118/archive/2009/06/29/4307636.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/CathySun118/238654311/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/CathySun118/238654311/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 30 Jun 2009 02:00:00 +0800</pubDate><author>cathysun118</author><comments>http://blog.csdn.net/CathySun118/archive/2009/06/29/4307636.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/CathySun118/archive/2009/06/29/4307636.aspx</guid><dc:creator>cathysun118</dc:creator><fs:srclink>http://blog.csdn.net/CathySun118/archive/2009/06/29/4307636.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/CathySun118/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/CathySun118/~1139153/238654311/1139141</fs:itemid></item><item><title>SQL Server2000升级到2005的注意事项</title><link>http://blog.csdn.net/CathySun118/archive/2009/06/24/4294532.aspx</link><wfw:comment>http://blog.csdn.net/CathySun118/comments/4294532.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/CathySun118/comments/commentRss/4294532.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4294532</trackback:ping><description>SQL 
Server2000升级到2005的注意事项 本文来自51CTO技术论坛
：&lt;br /&gt;     SQL Server 
2005已经发布，许多单位在考虑升级，但它们不知道如何开始着手，或者不知道如何及时地从一个阶段进入到另一个阶段。本文大致介绍了十个重要步骤，让用户者遵循正确的步骤，升级至SQL 
Server 2005。 &lt;br /&gt;&lt;br /&gt;一、证明升级的必要性&lt;br /&gt;&lt;br /&gt;
　　找到进行SQL Server 
2005升级的关键因素也许很简单，但要说服技术和业务管理人员进行实施却是个难题。调查和教育是良好的开端。要考虑目前的平台遇到过的所有问题，然后确定单单SQL 
Server 2005（或者连同其他额外产品）会不会解决业务和技术上的难题。把调查结果汇报给上层管理人员。 &lt;br /&gt;&lt;br /&gt;二、成本和投资回报&lt;br /&gt;&lt;br /&gt;
　　升级决策的一个方面免不了归结为将成本与时间跟业务改进与竞争优势进行比较。要找出升级带来的实际成本和效益很难，因为成本和效益都分为有形的和无形的。列一份清单，比较有形成本（如许可费、项目预计时间和硬件费&lt;img src =&quot;http://blog.csdn.net/CathySun118/aggbug/4294532.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238654329/CathySun118/csdn.net/s.gif?r=http://blog.csdn.net/CathySun118/archive/2009/06/24/4294532.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/CathySun118/238654329/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/CathySun118/238654329/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Jun 2009 23:03:00 +0800</pubDate><author>cathysun118</author><comments>http://blog.csdn.net/CathySun118/archive/2009/06/24/4294532.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/CathySun118/archive/2009/06/24/4294532.aspx</guid><dc:creator>cathysun118</dc:creator><fs:srclink>http://blog.csdn.net/CathySun118/archive/2009/06/24/4294532.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/CathySun118/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/CathySun118/~1139153/238654329/1139141</fs:itemid></item><item><title>切换SQL Server 2005中执行SQL的用户</title><link>http://blog.csdn.net/CathySun118/archive/2009/06/24/4294515.aspx</link><wfw:comment>http://blog.csdn.net/CathySun118/comments/4294515.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/CathySun118/comments/commentRss/4294515.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4294515</trackback:ping><description>&lt;br /&gt;切换SQL Server 2005中执行SQL的用户 &lt;br /&gt;&lt;br /&gt;
    很多人都碰到过这样的问题，使用查询分析器执行SQL语句时，如果这时想切换用户该怎么&lt;br /&gt;&lt;br /&gt;
办？SQL SERVER2005给了我们这样的功能。&lt;br /&gt;&lt;br /&gt;
　　SQL Server 2005包含了EXECUTE AS语句，通过使用EXECUTE AS语句，您可以为批处理和过&lt;br /&gt;&lt;br /&gt;
程切换用户，这样，调用该批处理或过程的用户就可以使用不同的权限来操作了。 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
　　用户的切换 &lt;br /&gt;&lt;br /&gt;
　　在SQL Server 2000中，您可以使用SETUSER命令来模拟SQL用户的切换，但问题在于，只有&lt;br /&gt;&lt;br /&gt;
系统管理员或者数据库的所有者才能使用这个命令，而且Windows账户也不能使用该命令。 &lt;br /&gt;&lt;br /&gt;
　　在SQL Server 2005中，EXECUTE AS语句可以替代SETUSER来改变存储过程、触发器、批处&lt;br /&gt;&lt;br /&gt;
理&lt;img src =&quot;http://blog.csdn.net/CathySun118/aggbug/4294515.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238654362/CathySun118/csdn.net/s.gif?r=http://blog.csdn.net/CathySun118/archive/2009/06/24/4294515.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/CathySun118/238654362/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/CathySun118/238654362/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Jun 2009 22:59:00 +0800</pubDate><author>cathysun118</author><comments>http://blog.csdn.net/CathySun118/archive/2009/06/24/4294515.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/CathySun118/archive/2009/06/24/4294515.aspx</guid><dc:creator>cathysun118</dc:creator><fs:srclink>http://blog.csdn.net/CathySun118/archive/2009/06/24/4294515.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/CathySun118/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/CathySun118/~1139153/238654362/1139141</fs:itemid></item><item><title>SQL server 2005安装问题汇总</title><link>http://blog.csdn.net/CathySun118/archive/2009/06/23/4291736.aspx</link><wfw:comment>http://blog.csdn.net/CathySun118/comments/4291736.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/CathySun118/comments/commentRss/4291736.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4291736</trackback:ping><description>&lt;br /&gt;SQL server 2005安装问题汇总 &lt;br /&gt;&lt;br /&gt;
本文来自51CTO技术论坛： http://bbs.51cto.com/thread-436382-1-1.html    &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
　　SQL2005 分五个版本，如下所列， &lt;br /&gt;
　　1.Enterprise(企业版), &lt;br /&gt;
　　2.Development(开发版), &lt;br /&gt;
　　3.Workgroup,(工作群版) &lt;br /&gt;
　　4.Standard,(标准版) &lt;br /&gt;
　　5.Express.(嗯，估且就叫它简易版吧) &lt;br /&gt;
　　这几个版本，我们究竟应该使用哪一版呢﹖ &lt;br /&gt;
　　这是许多初学SQL2005的人最常问的问题。 &lt;br /&gt;
　　我简单的比较一下 Enterprise, Development 和 Express 等三个版本:以功能言，Enterprise 版和 Development 版的功能一模一样。两者的差别，除了授权不同外，最主要的差别是: &lt;img src =&quot;http://blog.csdn.net/CathySun118/aggbug/4291736.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238654363/CathySun118/csdn.net/s.gif?r=http://blog.csdn.net/CathySun118/archive/2009/06/23/4291736.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/CathySun118/238654363/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/CathySun118/238654363/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 23 Jun 2009 23:17:00 +0800</pubDate><author>cathysun118</author><comments>http://blog.csdn.net/CathySun118/archive/2009/06/23/4291736.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/CathySun118/archive/2009/06/23/4291736.aspx</guid><dc:creator>cathysun118</dc:creator><fs:srclink>http://blog.csdn.net/CathySun118/archive/2009/06/23/4291736.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/CathySun118/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/CathySun118/~1139153/238654363/1139141</fs:itemid></item><item><title>数据库损坏了怎么办？</title><link>http://blog.csdn.net/CathySun118/archive/2009/06/23/4291534.aspx</link><wfw:comment>http://blog.csdn.net/CathySun118/comments/4291534.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/CathySun118/comments/commentRss/4291534.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4291534</trackback:ping><description>&lt;br /&gt;Help, my database is corrupt. Now what?&lt;br /&gt;By Gail
Shaw

, 2009/02/16 &lt;br /&gt;A corrupt database is probably one of most DBA's worst nightmares. It
results in downtime, managers shouting and all other sorts of unpleasant things&lt;br /&gt;In this article, I'm going to explain some of the things not to do to a
corrupt database, and then go through some of the things that should be done,
some of the scenarios and the fixes for those.&lt;br /&gt;How to identify corruption&lt;br /&gt;Corruption's typicall&lt;img src =&quot;http://blog.csdn.net/CathySun118/aggbug/4291534.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238654364/CathySun118/csdn.net/s.gif?r=http://blog.csdn.net/CathySun118/archive/2009/06/23/4291534.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/CathySun118/238654364/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/CathySun118/238654364/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 23 Jun 2009 22:18:00 +0800</pubDate><author>cathysun118</author><comments>http://blog.csdn.net/CathySun118/archive/2009/06/23/4291534.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/CathySun118/archive/2009/06/23/4291534.aspx</guid><dc:creator>cathysun118</dc:creator><fs:srclink>http://blog.csdn.net/CathySun118/archive/2009/06/23/4291534.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/CathySun118/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/CathySun118/~1139153/238654364/1139141</fs:itemid></item><item><title>Find Text in all columns of all tables in a Database</title><link>http://blog.csdn.net/CathySun118/archive/2009/06/22/4289274.aspx</link><wfw:comment>http://blog.csdn.net/CathySun118/comments/4289274.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/CathySun118/comments/commentRss/4289274.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4289274</trackback:ping><description>Find Text in all columns of all tables in a Database&lt;img src =&quot;http://blog.csdn.net/CathySun118/aggbug/4289274.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238654365/CathySun118/csdn.net/s.gif?r=http://blog.csdn.net/CathySun118/archive/2009/06/22/4289274.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/CathySun118/238654365/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/CathySun118/238654365/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 23 Jun 2009 00:36:00 +0800</pubDate><author>cathysun118</author><comments>http://blog.csdn.net/CathySun118/archive/2009/06/22/4289274.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/CathySun118/archive/2009/06/22/4289274.aspx</guid><dc:creator>cathysun118</dc:creator><fs:srclink>http://blog.csdn.net/CathySun118/archive/2009/06/22/4289274.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/CathySun118/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/CathySun118/~1139153/238654365/1139141</fs:itemid></item><item><title>通过备份记录获取数据库的增长情况</title><link>http://blog.csdn.net/CathySun118/archive/2009/06/22/4289011.aspx</link><wfw:comment>http://blog.csdn.net/CathySun118/comments/4289011.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/CathySun118/comments/commentRss/4289011.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4289011</trackback:ping><description>通过备份记录获取数据库的增长情况&lt;img src =&quot;http://blog.csdn.net/CathySun118/aggbug/4289011.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238654369/CathySun118/csdn.net/s.gif?r=http://blog.csdn.net/CathySun118/archive/2009/06/22/4289011.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/CathySun118/238654369/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/CathySun118/238654369/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 22 Jun 2009 23:32:00 +0800</pubDate><author>cathysun118</author><comments>http://blog.csdn.net/CathySun118/archive/2009/06/22/4289011.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/CathySun118/archive/2009/06/22/4289011.aspx</guid><dc:creator>cathysun118</dc:creator><fs:srclink>http://blog.csdn.net/CathySun118/archive/2009/06/22/4289011.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/CathySun118/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/CathySun118/~1139153/238654369/1139141</fs:itemid></item><item><title>化解字符串不能超过8000的方法(ZT)</title><link>http://blog.csdn.net/CathySun118/archive/2009/06/21/4286277.aspx</link><wfw:comment>http://blog.csdn.net/CathySun118/comments/4286277.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/CathySun118/comments/commentRss/4286277.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4286277</trackback:ping><description>&lt;br /&gt;化解字符串不能超过8000的方法(ZT) &lt;br /&gt;经常有人提到,用动态生成SQL语句的方法处理数据时,处理语句超长,无法处理的问题&lt;br /&gt;下面就讨论这个问题:&lt;br /&gt;&lt;br /&gt;/*-- 数据测试环境 --*/&lt;br /&gt;if exists (select * from dbo.sysobjects where id = object_id(N'[tb]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)&lt;br /&gt;drop table [tb]&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;create table tb(单位名称 varchar(10),日期 datetime,销售额 int)&lt;br /&gt;insert into tb&lt;br /&gt;select 'A单位','2001-01-01',100&lt;br /&gt;union all select 'B单位','2001-01-02',101&lt;br /&gt;union all select 'C单位','2001-01-03',102&lt;br /&gt;union all select 'D&lt;img src =&quot;http://blog.csdn.net/CathySun118/aggbug/4286277.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238654390/CathySun118/csdn.net/s.gif?r=http://blog.csdn.net/CathySun118/archive/2009/06/21/4286277.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/CathySun118/238654390/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/CathySun118/238654390/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 21 Jun 2009 19:00:00 +0800</pubDate><author>cathysun118</author><comments>http://blog.csdn.net/CathySun118/archive/2009/06/21/4286277.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/CathySun118/archive/2009/06/21/4286277.aspx</guid><dc:creator>cathysun118</dc:creator><fs:srclink>http://blog.csdn.net/CathySun118/archive/2009/06/21/4286277.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/CathySun118/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/CathySun118/~1139153/238654390/1139141</fs:itemid></item><item><title>一个把表中数据生成Insert脚本的通用存储过程</title><link>http://blog.csdn.net/CathySun118/archive/2009/06/19/4283010.aspx</link><wfw:comment>http://blog.csdn.net/CathySun118/comments/4283010.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/CathySun118/comments/commentRss/4283010.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4283010</trackback:ping><description>&lt;br /&gt;--drop proc p_createinsertscript&lt;br /&gt;
create proc p_createinsertscript(@table_name SYSNAME)&lt;br /&gt;
as&lt;br /&gt;
begin&lt;br /&gt;
SET NOCOUNT ON&lt;br /&gt;&lt;br /&gt;
--DECLARE @table_name SYSNAME&lt;br /&gt;
DECLARE @handle_big_binary BIT&lt;br /&gt;
DECLARE @column_names BIT&lt;br /&gt;
DECLARE @strsql varchar(4000)&lt;br /&gt;&lt;br /&gt;
-- ////////////////////&lt;br /&gt;
-- -&gt; Configuration&lt;br /&gt;
--SET @table_name = 't1'&lt;br /&gt;
SET @handle_big_binary = 1&lt;br /&gt;
SET @column_names = 1&lt;br /&gt;
-- &lt;br /&gt;
-- ////////&lt;img src =&quot;http://blog.csdn.net/CathySun118/aggbug/4283010.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/238654414/CathySun118/csdn.net/s.gif?r=http://blog.csdn.net/CathySun118/archive/2009/06/19/4283010.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/CathySun118/238654414/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/CathySun118/238654414/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 19 Jun 2009 23:20:00 +0800</pubDate><author>cathysun118</author><comments>http://blog.csdn.net/CathySun118/archive/2009/06/19/4283010.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/CathySun118/archive/2009/06/19/4283010.aspx</guid><dc:creator>cathysun118</dc:creator><fs:srclink>http://blog.csdn.net/CathySun118/archive/2009/06/19/4283010.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/CathySun118/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/CathySun118/~1139153/238654414/1139141</fs:itemid></item></channel></rss>