﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><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>BlogJava-猪-随笔分类-sql</title><link>http://www.blogjava.net/liuspring/category/34392.html</link><description>java .net</description><language>zh-cn</language><lastBuildDate>Fri, 21 May 2010 15:44:23 GMT</lastBuildDate><pubDate>Fri, 21 May 2010 15:44:23 GMT</pubDate><ttl>60</ttl><item><title>OLAP(On_line Analytical Processing联机分析处理) 和 OLTP(On_line Transaction Processing联机事务处理)</title><link>http://www.blogjava.net/liuspring/archive/2010/05/19/321327.html</link><dc:creator>猪</dc:creator><author>猪</author><pubDate>Wed, 19 May 2010 02:05:00 GMT</pubDate><guid>http://www.blogjava.net/liuspring/archive/2010/05/19/321327.html</guid><wfw:comment>http://www.blogjava.net/liuspring/comments/321327.html</wfw:comment><comments>http://www.blogjava.net/liuspring/archive/2010/05/19/321327.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuspring/comments/commentRss/321327.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuspring/services/trackbacks/321327.html</trackback:ping><description><![CDATA[<p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: normal; font-family: Arial; font-size: 14px; ">OLAP(On_line Analytical Processing联机分析处理) 和 OLTP(On_line Transaction Processing联机事务处理)</p>
<p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: normal; font-family: Arial; font-size: 14px; ">OLTP：On_line Transaction Processing 联机事务处理 ，以业务处理为主</p>
<p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: normal; font-family: Arial; font-size: 14px; ">OLAP：On_line Analytical Processing&nbsp;&nbsp;&nbsp;&nbsp; 联机分析处理，则是专门为支持复杂的分析操作而设计的，侧重于对决策人员和高层管理人员的决策支持</p>
<img src ="http://www.blogjava.net/liuspring/aggbug/321327.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuspring/" target="_blank">猪</a> 2010-05-19 10:05 <a href="http://www.blogjava.net/liuspring/archive/2010/05/19/321327.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>您对无法重新创建的表进行了更改或者启用了 阻止保存要求创建表的更改</title><link>http://www.blogjava.net/liuspring/archive/2010/03/03/314445.html</link><dc:creator>猪</dc:creator><author>猪</author><pubDate>Wed, 03 Mar 2010 13:42:00 GMT</pubDate><guid>http://www.blogjava.net/liuspring/archive/2010/03/03/314445.html</guid><wfw:comment>http://www.blogjava.net/liuspring/comments/314445.html</wfw:comment><comments>http://www.blogjava.net/liuspring/archive/2010/03/03/314445.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/liuspring/comments/commentRss/314445.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuspring/services/trackbacks/314445.html</trackback:ping><description><![CDATA[如果要去掉此提示，打开SQL 2008 在最上面 <span style="color: red">工具-〉选项-〉左侧有个 设计器-〉表设计器和数据库设计器 -&gt; 阻止保存要求重新创建表的更改(右侧)</span> 把钩去即可<br />
<br />
参考：http://www.cnblogs.com/ajayumi/archive/2009/04/08/1431429.html
<img src ="http://www.blogjava.net/liuspring/aggbug/314445.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuspring/" target="_blank">猪</a> 2010-03-03 21:42 <a href="http://www.blogjava.net/liuspring/archive/2010/03/03/314445.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>郁闷的问题 Order by</title><link>http://www.blogjava.net/liuspring/archive/2008/12/19/247400.html</link><dc:creator>猪</dc:creator><author>猪</author><pubDate>Fri, 19 Dec 2008 14:00:00 GMT</pubDate><guid>http://www.blogjava.net/liuspring/archive/2008/12/19/247400.html</guid><wfw:comment>http://www.blogjava.net/liuspring/comments/247400.html</wfw:comment><comments>http://www.blogjava.net/liuspring/archive/2008/12/19/247400.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.blogjava.net/liuspring/comments/commentRss/247400.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuspring/services/trackbacks/247400.html</trackback:ping><description><![CDATA[<p>遇到一个郁闷的问题 ，百思不得其解
<br />
到这里请大家分析分析</p>
<p>outtable 表中有四条记录 如下图</p>
<p>我按out_scrpno排序，为什么2008-1000不在第一行呢？？？</p>
<img alt="" src="http://www.blogjava.net/images/blogjava_net/liuspring/sql1.JPG" width="365" height="247" />
<p>
</p>
<p>同样的问题，如下图</p>
<img alt="" src="http://www.blogjava.net/images/blogjava_net/liuspring/sql2.JPG" width="217" height="166" />
<p>
</p>
<p>为什么会是2008-999呢 为啥不是2008-1000？？？</p>
<p>请大家帮忙是啥子原因，多谢，多谢</p>
<p><br />
</p>
<p xmlns="" class="poweredbyzoundry">Powered by <a href="http://www.zoundryraven.com" class="poweredbyzoundry_link" rel="nofollow">Zoundry Raven</a></p>
<p xmlns="" class="poweredbyzoundry">ps：<span  style="font-family: Verdana; font-size: 13px; white-space: pre-wrap; ">问题基本解决，感谢各位提示：</span></p>
<span  style="font-family: Verdana; font-size: 13px; white-space: pre-wrap; ">SELECT TOP 1 OUT_SCRPNO FROM OUTTABLE WHERE CHARINDEX('-',OUT_SCRPNO,6) = 0 ORDER BY CONVERT(int,REPLACE(out_scrpno,'-','')) DESC
另好像不该发到首页，请管理员包含，心切</span>
<img src ="http://www.blogjava.net/liuspring/aggbug/247400.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuspring/" target="_blank">猪</a> 2008-12-19 22:00 <a href="http://www.blogjava.net/liuspring/archive/2008/12/19/247400.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sqlServer2000与sqlServer2005的错误</title><link>http://www.blogjava.net/liuspring/archive/2008/09/04/227077.html</link><dc:creator>猪</dc:creator><author>猪</author><pubDate>Thu, 04 Sep 2008 14:43:00 GMT</pubDate><guid>http://www.blogjava.net/liuspring/archive/2008/09/04/227077.html</guid><wfw:comment>http://www.blogjava.net/liuspring/comments/227077.html</wfw:comment><comments>http://www.blogjava.net/liuspring/archive/2008/09/04/227077.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.blogjava.net/liuspring/comments/commentRss/227077.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/liuspring/services/trackbacks/227077.html</trackback:ping><description><![CDATA[一哥们在学C#，同时学的是sqlServer2005，是啊，我接触C#那会儿才.net1.1，现在都3.x了<br />
让我帮忙调式一下程序，而我的机器尚没有sql05，只有sql2000，期间听说过05和2000可以同时安装，装吧，要不没法附加他那2005的数据库，费了好大劲装好了，开始附加数据库，但是死活附加不上去，错误提示：执行Transact_SQL语句或批处理时发生了异常。未能在sysindexes中找到数据库ID 9 对象ID 1 对应的行，请对sysindexes运行DBCC CHECKTABLE<br />
<br />
<img height="236" alt="" src="http://www.blogjava.net/images/blogjava_net/liuspring/sql05.JPG" width="611" /><br />
按照提示，执行 DBCC CHECKTABLE 还是没有效果<br />
遂在google上搜，有网友遇到这个问题是因为同时装了sql2000，卸载了2000重装sql2005就成功了<br />
晕，这下功夫耗大了<br />
卸载吧，同学提供了一个干净卸载的工具来卸载，早就知道卸载sql2000卸不干净，重装会出问题，于是采用此工具<br />
&#8220;微软的Windows_Installer_清理实用工具msicuu2&#8221;<br />
可谁知道，这东西帮了倒忙，好像得先运行卸载程序，再运行这个&#8220;微软的Windows_Installer_清理实用工具msicuu2&#8221;可以帮忙将注册表之类的垃圾清理掉，但是我直接运行了这个&#8220;微软的Windows_Installer_清理实用工具msicuu2&#8221;，结果sql2000还在并且可以运行，在控制面板卸载，提示 找不到D:\Program Files\Microsoft SQL Server\MSSQL\Uninst.isu<br />
晕，这是干啥的啊<br />
接着google<br />
找到一网友的播客http://www.anywolfs.com/liuhui/article.asp?id=257，提出了解决办法，用之，终于可以卸载了<br />
接着卸载sql2005，哎，等等，现在是不是可以附加了呢，试，.....还是不行，呵呵<br />
卸载吧<br />
哦？从控制面板貌似sql05也卸载不了了，卸了好几次也没反应啊，倒是不报错<br />
<img style="width: 695px; height: 419px" height="419" alt="" src="http://www.blogjava.net/images/blogjava_net/liuspring/sql052.JPG" width="695" /><br />
试了好几次，貌似选哪个都不好使，点下一步，一会儿窗口就自己消失了<br />
啊，啊啊，晕，先睡觉，明儿再搞定05<br />
谁位大哥遇到过，提示一下啊......<br />
<br />
<img src ="http://www.blogjava.net/liuspring/aggbug/227077.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/liuspring/" target="_blank">猪</a> 2008-09-04 22:43 <a href="http://www.blogjava.net/liuspring/archive/2008/09/04/227077.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>