<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/"><channel><title>彭建军的专栏 - 09-SQL Server 2000</title><link>http://blog.csdn.net/pengjj/category/130740.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Wed, 21 Nov 2007 20:15:01 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>彭建军</dc:creator><title>SQL Server 文档整理 - 5 胸闷测试小程序^_^</title><link>http://blog.csdn.net/pengjj/archive/2006/07/08/893723.aspx</link><pubDate>Sat, 08 Jul 2006 17:28:00 GMT</pubDate><guid>http://blog.csdn.net/pengjj/archive/2006/07/08/893723.aspx</guid><wfw:comment>http://blog.csdn.net/pengjj/comments/893723.aspx</wfw:comment><comments>http://blog.csdn.net/pengjj/archive/2006/07/08/893723.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/pengjj/comments/commentRss/893723.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=893723</trackback:ping><description>       两年多没有碰SQL Server 2000了，昨天整理电脑的时候发现了以前写的一些文档，今天就整理到博客上来吧。不然也对不起“彭建军的专栏”几个字了，呵呵。

       两年多前，我还混迹在CSDN 的SQL Server版块，那个时候经常郁闷（现在好了一些，呵呵）。当时在CSDN的版块中发过这个测试程序，这里整理在博客上，有兴趣的朋友可以测试测试你是否胸闷？Having Fun……&lt;img src ="http://blog.csdn.net/pengjj/aggbug/893723.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>彭建军</dc:creator><title>SQL Server 文档整理 - 4 如何找出重复数据以及怎样消除重复数据</title><link>http://blog.csdn.net/pengjj/archive/2006/07/08/893708.aspx</link><pubDate>Sat, 08 Jul 2006 17:24:00 GMT</pubDate><guid>http://blog.csdn.net/pengjj/archive/2006/07/08/893708.aspx</guid><wfw:comment>http://blog.csdn.net/pengjj/comments/893708.aspx</wfw:comment><comments>http://blog.csdn.net/pengjj/archive/2006/07/08/893708.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/pengjj/comments/commentRss/893708.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=893708</trackback:ping><description>       两年多没有碰SQL Server 2000了，昨天整理电脑的时候发现了以前写的一些文档，今天就整理到博客上来吧。不然也对不起“彭建军的专栏”几个字了，呵呵。

       很多时候，你的目的表中存在重复记录，恰好你不能容忍它们的存在？怎么找出它们？怎么消除它们？下面提供的一些方法或许对你有用……
&lt;img src ="http://blog.csdn.net/pengjj/aggbug/893708.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>彭建军</dc:creator><title>SQL Server 文档整理 - 3 触发器调用存储过程</title><link>http://blog.csdn.net/pengjj/archive/2006/07/08/893694.aspx</link><pubDate>Sat, 08 Jul 2006 17:20:00 GMT</pubDate><guid>http://blog.csdn.net/pengjj/archive/2006/07/08/893694.aspx</guid><wfw:comment>http://blog.csdn.net/pengjj/comments/893694.aspx</wfw:comment><comments>http://blog.csdn.net/pengjj/archive/2006/07/08/893694.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pengjj/comments/commentRss/893694.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=893694</trackback:ping><description>       两年多没有碰SQL Server 2000了，昨天整理电脑的时候发现了以前写的一些文档，今天就整理到博客上来吧。不然也对不起“彭建军的专栏”几个字了，呵呵。

       不想人工干预地自动执行存储过程？当目的表发生变动时自动执行相应的存储过程？本存储过程就是提供这样一个方法……&lt;img src ="http://blog.csdn.net/pengjj/aggbug/893694.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>彭建军</dc:creator><title>SQL Server 文档整理 - 2 清空所有数据库表记录的存储过程</title><link>http://blog.csdn.net/pengjj/archive/2006/07/08/893680.aspx</link><pubDate>Sat, 08 Jul 2006 17:13:00 GMT</pubDate><guid>http://blog.csdn.net/pengjj/archive/2006/07/08/893680.aspx</guid><wfw:comment>http://blog.csdn.net/pengjj/comments/893680.aspx</wfw:comment><comments>http://blog.csdn.net/pengjj/archive/2006/07/08/893680.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pengjj/comments/commentRss/893680.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=893680</trackback:ping><description>两年多没有碰SQL Server 2000了，昨天整理电脑的时候发现了以前写的一些文档，今天就整理到博客上来吧。不然也对不起“彭建军的专栏”几个字了，呵呵。

       很多时候，你想将数据库恢复到最初的“纯净”状态，用数据库DDL脚本当然是最好的选择，但是，如果你没有这个脚本呢？本存储过程就是提供这样一个方法……&lt;img src ="http://blog.csdn.net/pengjj/aggbug/893680.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>彭建军</dc:creator><title>SQL Server 文档整理 - 1 列出目的表所有字段的存储过程</title><link>http://blog.csdn.net/pengjj/archive/2006/07/08/893668.aspx</link><pubDate>Sat, 08 Jul 2006 17:08:00 GMT</pubDate><guid>http://blog.csdn.net/pengjj/archive/2006/07/08/893668.aspx</guid><wfw:comment>http://blog.csdn.net/pengjj/comments/893668.aspx</wfw:comment><comments>http://blog.csdn.net/pengjj/archive/2006/07/08/893668.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pengjj/comments/commentRss/893668.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=893668</trackback:ping><description>两年多没有碰SQL Server 2000了，昨天整理电脑的时候发现了以前写的一些文档，今天就整理到博客上来吧。不然也对不起“彭建军的专栏”几个字了，呵呵。

       很多时候，你试图写 insert into TableName……，当这个表的字段很多的时候，通常你都会很郁闷：因为有很多字段需要你写，即使 Ctrl + C and Ctrl + V 也会让你耗费不少时间。本存储过程就是将你的目的表中的所有字段列出来，并用 “,” 将它们连接起来。以后再碰到类似问题，就再也不会郁闷了……&lt;img src ="http://blog.csdn.net/pengjj/aggbug/893668.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>彭建军</dc:creator><title>MS SQL Server 2000 DBCC 简介</title><link>http://blog.csdn.net/pengjj/archive/2006/06/29/851706.aspx</link><pubDate>Thu, 29 Jun 2006 16:46:00 GMT</pubDate><guid>http://blog.csdn.net/pengjj/archive/2006/06/29/851706.aspx</guid><wfw:comment>http://blog.csdn.net/pengjj/comments/851706.aspx</wfw:comment><comments>http://blog.csdn.net/pengjj/archive/2006/06/29/851706.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pengjj/comments/commentRss/851706.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=851706</trackback:ping><description>      前些天一个好朋友的SQL SERVER 2000数据库崩溃了，询问我如何解决。错误号为8925，数据库无法使用。这个问题以前（两年前了，嘿嘿，时间飞度啊）我曾经碰到过，并解决过，这里小结一下吧，希望在大家碰到类似问题的时候能提供帮助。
    一般来说，这种错误主要是由于数据库在存储数据过程中发生的硬性错误，而且多数是由于索引错误引起的。SQL SERVER DBCC命令集就是这样一套提供检查数据库错误并修复错误的工具集。作为DBA的同志们应该一个月至少执行一次DBCC命令差错并修复错误。&lt;img src ="http://blog.csdn.net/pengjj/aggbug/851706.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>彭建军</dc:creator><title>SQL Server 2000 （SP4）笔记整理（三）：触发器</title><link>http://blog.csdn.net/pengjj/archive/2005/06/27/404248.aspx</link><pubDate>Mon, 27 Jun 2005 12:35:00 GMT</pubDate><guid>http://blog.csdn.net/pengjj/archive/2005/06/27/404248.aspx</guid><wfw:comment>http://blog.csdn.net/pengjj/comments/404248.aspx</wfw:comment><comments>http://blog.csdn.net/pengjj/archive/2005/06/27/404248.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pengjj/comments/commentRss/404248.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=404248</trackback:ping><description>本示例主要通过一个简单的业务规则实现来进行触发器使用的说明&lt;img src ="http://blog.csdn.net/pengjj/aggbug/404248.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>彭建军</dc:creator><title>SQL Server 2000 （SP4）笔记整理（二）：数据库表</title><link>http://blog.csdn.net/pengjj/archive/2005/06/22/400130.aspx</link><pubDate>Wed, 22 Jun 2005 11:04:00 GMT</pubDate><guid>http://blog.csdn.net/pengjj/archive/2005/06/22/400130.aspx</guid><wfw:comment>http://blog.csdn.net/pengjj/comments/400130.aspx</wfw:comment><comments>http://blog.csdn.net/pengjj/archive/2005/06/22/400130.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pengjj/comments/commentRss/400130.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=400130</trackback:ping><description>数据库表的创建、修改、删除以及默认值、CHECK、IDENTITY&lt;img src ="http://blog.csdn.net/pengjj/aggbug/400130.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>彭建军</dc:creator><title>SQL Server 2000 （SP4）笔记整理（一）：数据库</title><link>http://blog.csdn.net/pengjj/archive/2005/06/22/399967.aspx</link><pubDate>Wed, 22 Jun 2005 09:01:00 GMT</pubDate><guid>http://blog.csdn.net/pengjj/archive/2005/06/22/399967.aspx</guid><wfw:comment>http://blog.csdn.net/pengjj/comments/399967.aspx</wfw:comment><comments>http://blog.csdn.net/pengjj/archive/2005/06/22/399967.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/pengjj/comments/commentRss/399967.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=399967</trackback:ping><description>SQL Server 2000 （SP4）笔记整理&lt;img src ="http://blog.csdn.net/pengjj/aggbug/399967.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>