<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>zjcxc(邹建)的Blog - SQL Server - BUG与疑难问题</title><link>http://blog.csdn.net/zjcxc/category/125603.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Sun, 20 Apr 2008 05:50:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>邹建</dc:creator><title>SET NOCOUNT 的怪问题</title><link>http://blog.csdn.net/zjcxc/archive/2008/01/20/2054043.aspx</link><pubDate>Sun, 20 Jan 2008 07:03:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2008/01/20/2054043.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/2054043.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2008/01/20/2054043.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/2054043.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2054043</trackback:ping><description>当满足下述条件时, SET NOCOUNT 导致 TRY ... CATCH 无法正确处理错误
1. 使用 EXEC() AT  或者 EXEC ..dbo.sp_executesql 
2.  中包括输出参数
3.  中包括 SET NOCOUNT ON 和 USE  语句(注意不能更换出现次序)
&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/2054043.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>SELECT 赋值与ORDER BY冲突的问题</title><link>http://blog.csdn.net/zjcxc/archive/2006/09/17/1233068.aspx</link><pubDate>Sun, 17 Sep 2006 20:19:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2006/09/17/1233068.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/1233068.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2006/09/17/1233068.aspx#Feedback</comments><slash:comments>14</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/1233068.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1233068</trackback:ping><description>使用 SELECT 语句，轮询表中的数据，并且处理变量数据时，如果有ORDER BY语句，则得不到想要的结果，但去掉ORDER BY，结果正常&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/1233068.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>无法在 SQL Server 2005 Manger Studio 中录入中文的问题</title><link>http://blog.csdn.net/zjcxc/archive/2006/08/20/1099092.aspx</link><pubDate>Sun, 20 Aug 2006 10:49:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2006/08/20/1099092.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/1099092.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2006/08/20/1099092.aspx#Feedback</comments><slash:comments>9</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/1099092.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1099092</trackback:ping><description>在 SQL Server 2005 Manger Studio中打开表进行数据输入的时候，你有时候会发现无法输入中文，只能输入英文，这是什么原因呢？本文带你重现和解决这个问题
&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/1099092.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>与SQL Server补丁相关的问题</title><link>http://blog.csdn.net/zjcxc/archive/2006/07/15/926649.aspx</link><pubDate>Sat, 15 Jul 2006 21:50:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2006/07/15/926649.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/926649.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2006/07/15/926649.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/926649.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=926649</trackback:ping><description>本文收集由于SQL Server没有装补丁导致出现的问题&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/926649.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>TOP 1比不加TOP慢的疑惑</title><link>http://blog.csdn.net/zjcxc/archive/2006/07/10/898861.aspx</link><pubDate>Mon, 10 Jul 2006 11:30:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2006/07/10/898861.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/898861.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2006/07/10/898861.aspx#Feedback</comments><slash:comments>9</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/898861.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=898861</trackback:ping><description>有一个查询如下，去掉TOP 1的时候，很快就出来结果了，但加上TOP 1的时候，一般要2~3秒才出数据，何解？
SELECT TOP 1
	A.INVNO 
FROM A, B
WHERE A.Item = B.ItemNumber
	AND B.OwnerCompanyCode IS NOT NULL
&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/898861.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>如何解决引用对象时,必须加所有者(owner)的问题</title><link>http://blog.csdn.net/zjcxc/archive/2006/07/03/870217.aspx</link><pubDate>Mon, 03 Jul 2006 16:21:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2006/07/03/870217.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/870217.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2006/07/03/870217.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/870217.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=870217</trackback:ping><description>从别处copy来一个数据库DB，附加后，对象的所有者不是Admini，每次查询时必需写select * from Admini.***才能查到。有什么方法不用前面的Admini吗（在不修改所有者的前提下）？注：
已经在“安全性-登陆”下面也新建了一个Admini用户，默认数据库设置为DB，权限足够，但在查询分析器下用Admini登陆，查询时还是要写Admini前缀，否则就提示对象名无效
&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/870217.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>MS SQL 内存使用异常</title><link>http://blog.csdn.net/zjcxc/archive/2006/06/29/852775.aspx</link><pubDate>Thu, 29 Jun 2006 21:11:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2006/06/29/852775.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/852775.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2006/06/29/852775.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/852775.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=852775</trackback:ping><description>环境：主机;IBM 445 /4 棵cpu/4G M
        OS = windows server
        MSSQL = Enterprise edition server +sp3
状况:
     我的MSSQL 一停用，在操作系统的任务管理器中，内存使用状诚指示条一下就降到到接近0，当我一启动MSSQL服务，任务管理器中的内存使用状态指示条一上到了70% 左右，再仔细看任务管理器中SQL 进程的内存使用大少才70多M(70多兆确认没有看错)，而任务管理器中的可能最大内存是3.6G .重启服务器也是一样的状况.别外我的MSSQL 中有大约有建10 个DB.
问题：
  1.为何任务管理器中的内存使用状态条与进程中现显的内存使用差异有那么大(2.5G /70M)?
   2.这个状况真正的问题在什么地方？&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/852775.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>如何使用跟踪标记 1204 </title><link>http://blog.csdn.net/zjcxc/archive/2005/08/25/464682.aspx</link><pubDate>Thu, 25 Aug 2005 09:15:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2005/08/25/464682.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/464682.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2005/08/25/464682.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/464682.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=464682</trackback:ping><description>跟踪标记 1204 用于返回参与死锁的锁的类型以及当前受影响的命令。死锁信息将自动发送到错误日志。 开启跟踪标记使用 DBCC TRACEON ,第3个参数指定为-1，表示不单单针对当前connection，而是针对所有包括未来建立的connection关闭跟踪标记使用 DBCC TRACEOFF	本文介绍在查询分析器中使用跟踪标记 1204 的演示, 死锁的信息被记录在 SQL Server 日志中,可以通过下面的方法查看:企业管理器 -- 展开实例 -- 管理 -- SQL Server 日志由于在企业管理器中查看时, 部分日志信息会被截断, 所以所以建议使用记事本一类的文本查看工具直接查看 \MSSQL\LOG 目录下的 ERRORLOG 文件有关死锁信息的详细说明参考联机帮助(联机丛书--菜单中的GO--URL--输入下面的地址:mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL%20Server\80\Tools\Books\trblsql.chm::/tr_servdatabse_5xrn.h&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/464682.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>master 数据库还原新问题</title><link>http://blog.csdn.net/zjcxc/archive/2005/08/24/464172.aspx</link><pubDate>Wed, 24 Aug 2005 16:36:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2005/08/24/464172.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/464172.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2005/08/24/464172.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/464172.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=464172</trackback:ping><description>本文介绍还原 master 数据库中的两个常见问题&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/464172.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>如何将 DBCC INDEXDEFRAG 执行的结果插入到表中</title><link>http://blog.csdn.net/zjcxc/archive/2005/08/24/463924.aspx</link><pubDate>Wed, 24 Aug 2005 13:25:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2005/08/24/463924.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/463924.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2005/08/24/463924.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/463924.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=463924</trackback:ping><description>欲将 DBCC INDEXDEFRAG 执行的结果插入到表中,收到如下错误信息"用户事务下无法对dbcc indexdefrag的结果操作" &lt;img src ="http://blog.csdn.net/zjcxc/aggbug/463924.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>在全文索引建立的目录不存在情况下删除全文索引</title><link>http://blog.csdn.net/zjcxc/archive/2005/08/20/459790.aspx</link><pubDate>Sat, 20 Aug 2005 17:39:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2005/08/20/459790.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/459790.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2005/08/20/459790.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/459790.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=459790</trackback:ping><description>建立全文索引硬盘建立了一个目录，直接把目录文件夹给删除了，现在到企业管理器里就无法删除全文索引了。如何删除全文索引？&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/459790.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>索引对查询条件顺序的影响</title><link>http://blog.csdn.net/zjcxc/archive/2004/09/22/112902.aspx</link><pubDate>Wed, 22 Sep 2004 13:10:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2004/09/22/112902.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/112902.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2004/09/22/112902.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/112902.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=112902</trackback:ping><description>一则"表的索引影响查询条件顺序"示例&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/112902.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>邹建</dc:creator><title>SQL Server BUG集之"自定义函数与group by"</title><link>http://blog.csdn.net/zjcxc/archive/2004/07/21/47300.aspx</link><pubDate>Wed, 21 Jul 2004 13:27:00 GMT</pubDate><guid>http://blog.csdn.net/zjcxc/archive/2004/07/21/47300.aspx</guid><wfw:comment>http://blog.csdn.net/zjcxc/comments/47300.aspx</wfw:comment><comments>http://blog.csdn.net/zjcxc/archive/2004/07/21/47300.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/zjcxc/comments/commentRss/47300.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=47300</trackback:ping><description>自定义函数用于group by时出错
(仅讨论问题原因)&lt;img src ="http://blog.csdn.net/zjcxc/aggbug/47300.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>