﻿<?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>IT博客-KiMoGiGi 技术文集-随笔分类-数据库相关</title><link>http://www.cnitblog.com/seeyeah/category/3173.html</link><description>不在乎选择什么，而在乎坚持多久……</description><language>zh-cn</language><lastBuildDate>Fri, 30 Sep 2011 13:01:08 GMT</lastBuildDate><pubDate>Fri, 30 Sep 2011 13:01:08 GMT</pubDate><ttl>60</ttl><item><title>【摘至网上】Sql2005获取表结构</title><link>http://www.cnitblog.com/seeyeah/archive/2009/05/23/58722.html</link><dc:creator>KiMoGiGi</dc:creator><author>KiMoGiGi</author><pubDate>Sat, 23 May 2009 10:22:00 GMT</pubDate><guid>http://www.cnitblog.com/seeyeah/archive/2009/05/23/58722.html</guid><wfw:comment>http://www.cnitblog.com/seeyeah/comments/58722.html</wfw:comment><comments>http://www.cnitblog.com/seeyeah/archive/2009/05/23/58722.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/seeyeah/comments/commentRss/58722.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/seeyeah/services/trackbacks/58722.html</trackback:ping><description><![CDATA[
		<div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;">
				<!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>-->
				<span style="color: rgb(0, 0, 255);">SELECT</span>
				<span style="color: rgb(0, 0, 0);">  <br />表名               </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">CASE</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">WHEN</span>
				<span style="color: rgb(0, 0, 0);">   A.COLORDER</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(128, 0, 0); font-weight: bold;">1</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">THEN</span>
				<span style="color: rgb(0, 0, 0);">   D.NAME   </span>
				<span style="color: rgb(0, 0, 255);">ELSE</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">END</span>
				<span style="color: rgb(0, 0, 0);">,<br />表說明           </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">CASE</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">WHEN</span>
				<span style="color: rgb(0, 0, 0);">   A.COLORDER</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(128, 0, 0); font-weight: bold;">1</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">THEN</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">ISNULL</span>
				<span style="color: rgb(0, 0, 0);">(F.VALUE, </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">)   </span>
				<span style="color: rgb(0, 0, 255);">ELSE</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">END</span>
				<span style="color: rgb(0, 0, 0);">,<br />欄位序號       </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   A.COLORDER,<br />欄位名           </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   A.NAME,<br />標識               </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">CASE</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">WHEN</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">COLUMNPROPERTY</span>
				<span style="color: rgb(0, 0, 0);">(   A.ID,A.NAME, </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);">ISIDENTITY </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">)</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(128, 0, 0); font-weight: bold;">1</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">THEN</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);">√ </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 255);">ELSE</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">END</span>
				<span style="color: rgb(0, 0, 0);">,<br />主鍵               </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">CASE</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">WHEN</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(128, 128, 128);">EXISTS</span>
				<span style="color: rgb(0, 0, 0);">(</span>
				<span style="color: rgb(0, 0, 255);">SELECT</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(128, 0, 0); font-weight: bold;">1</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">FROM</span>
				<span style="color: rgb(0, 0, 0);">   SYSOBJECTS   </span>
				<span style="color: rgb(0, 0, 255);">WHERE</span>
				<span style="color: rgb(0, 0, 0);">   XTYPE</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);">PK </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(128, 128, 128);">AND</span>
				<span style="color: rgb(0, 0, 0);">   PARENT_OBJ</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">A.ID   </span>
				<span style="color: rgb(128, 128, 128);">AND</span>
				<span style="color: rgb(0, 0, 0);">   NAME   </span>
				<span style="color: rgb(128, 128, 128);">IN</span>
				<span style="color: rgb(0, 0, 0);">   (<br /></span>
				<span style="color: rgb(0, 0, 255);">SELECT</span>
				<span style="color: rgb(0, 0, 0);">   NAME   </span>
				<span style="color: rgb(0, 0, 255);">FROM</span>
				<span style="color: rgb(0, 0, 0);">   SYSINDEXES   </span>
				<span style="color: rgb(0, 0, 255);">WHERE</span>
				<span style="color: rgb(0, 0, 0);">   INDID   </span>
				<span style="color: rgb(128, 128, 128);">IN</span>
				<span style="color: rgb(0, 0, 0);">(<br /></span>
				<span style="color: rgb(0, 0, 255);">SELECT</span>
				<span style="color: rgb(0, 0, 0);">   INDID   </span>
				<span style="color: rgb(0, 0, 255);">FROM</span>
				<span style="color: rgb(0, 0, 0);">   SYSINDEXKEYS   </span>
				<span style="color: rgb(0, 0, 255);">WHERE</span>
				<span style="color: rgb(0, 0, 0);">   ID   </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   A.ID   </span>
				<span style="color: rgb(128, 128, 128);">AND</span>
				<span style="color: rgb(0, 0, 0);">   COLID</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">A.COLID)))   </span>
				<span style="color: rgb(0, 0, 255);">THEN</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);">√ </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">ELSE</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">END</span>
				<span style="color: rgb(0, 0, 0);">,<br />類型               </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   B.NAME,<br />佔用位元組數   </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   A.LENGTH,<br />長度               </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">COLUMNPROPERTY</span>
				<span style="color: rgb(0, 0, 0);">(A.ID,A.NAME, </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);">PRECISION </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">),<br />小數位數       </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">ISNULL</span>
				<span style="color: rgb(0, 0, 0);">(</span>
				<span style="color: rgb(255, 0, 255);">COLUMNPROPERTY</span>
				<span style="color: rgb(0, 0, 0);">(A.ID,A.NAME, </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);">SCALE </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">),</span>
				<span style="color: rgb(128, 0, 0); font-weight: bold;">0</span>
				<span style="color: rgb(0, 0, 0);">),<br />允許空           </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">CASE</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">WHEN</span>
				<span style="color: rgb(0, 0, 0);">   A.ISNULLABLE</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(128, 0, 0); font-weight: bold;">1</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">THEN</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);">√ </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 255);">ELSE</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">END</span>
				<span style="color: rgb(0, 0, 0);">,<br />預設值           </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">ISNULL</span>
				<span style="color: rgb(0, 0, 0);">(E.</span>
				<span style="color: rgb(0, 0, 0); font-weight: bold;">TEXT</span>
				<span style="color: rgb(0, 0, 0);">, </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">),<br />欄位說明       </span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(255, 0, 255);">ISNULL</span>
				<span style="color: rgb(0, 0, 0);">(G.</span>
				<span style="color: rgb(255, 0, 0);">[</span>
				<span style="color: rgb(255, 0, 0);">VALUE</span>
				<span style="color: rgb(255, 0, 0);">]</span>
				<span style="color: rgb(0, 0, 0);">, </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">)<br /></span>
				<span style="color: rgb(0, 0, 255);">FROM</span>
				<span style="color: rgb(0, 0, 0);">  <br />SYSCOLUMNS   A<br /></span>
				<span style="color: rgb(255, 0, 255);">LEFT</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">JOIN</span>
				<span style="color: rgb(0, 0, 0);">  <br />SYSTYPES   B  <br /></span>
				<span style="color: rgb(0, 0, 255);">ON</span>
				<span style="color: rgb(0, 0, 0);">  <br />A.XUSERTYPE</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">B.XUSERTYPE<br /></span>
				<span style="color: rgb(0, 0, 255);">INNER</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">JOIN</span>
				<span style="color: rgb(0, 0, 0);">  <br />SYSOBJECTS   D  <br /></span>
				<span style="color: rgb(0, 0, 255);">ON</span>
				<span style="color: rgb(0, 0, 0);">  <br />A.ID</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">D.ID     </span>
				<span style="color: rgb(128, 128, 128);">AND</span>
				<span style="color: rgb(0, 0, 0);">   D.XTYPE</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);">U </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(128, 128, 128);">AND</span>
				<span style="color: rgb(0, 0, 0);">     D.NAME </span>
				<span style="color: rgb(128, 128, 128);">&lt;&gt;</span>
				<span style="color: rgb(0, 0, 0);"> </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(255, 0, 0);">DTPROPERTIES </span>
				<span style="color: rgb(255, 0, 0);">'</span>
				<span style="color: rgb(0, 0, 0);">
						<br />
				</span>
				<span style="color: rgb(255, 0, 255);">LEFT</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">JOIN</span>
				<span style="color: rgb(0, 0, 0);">  <br />SYSCOMMENTS   E  <br /></span>
				<span style="color: rgb(0, 0, 255);">ON</span>
				<span style="color: rgb(0, 0, 0);">  <br />A.CDEFAULT</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">E.ID<br /></span>
				<span style="color: rgb(255, 0, 255);">LEFT</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">JOIN</span>
				<span style="color: rgb(0, 0, 0);">  <br />sys.extended_properties   G  <br /></span>
				<span style="color: rgb(0, 0, 255);">ON</span>
				<span style="color: rgb(0, 0, 0);">  <br />A.ID</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">G.major_id   </span>
				<span style="color: rgb(128, 128, 128);">AND</span>
				<span style="color: rgb(0, 0, 0);">   A.COLID</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">G.minor_id    <br /></span>
				<span style="color: rgb(255, 0, 255);">LEFT</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">JOIN</span>
				<span style="color: rgb(0, 0, 0);">  <br />sys.extended_properties   F  <br /></span>
				<span style="color: rgb(0, 0, 255);">ON</span>
				<span style="color: rgb(0, 0, 0);">  <br />D.ID</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(0, 0, 0);">F.major_id   </span>
				<span style="color: rgb(128, 128, 128);">AND</span>
				<span style="color: rgb(0, 0, 0);">   F.minor_id</span>
				<span style="color: rgb(128, 128, 128);">=</span>
				<span style="color: rgb(128, 0, 0); font-weight: bold;">0</span>
				<span style="color: rgb(0, 0, 0);">
						<br />
				</span>
				<span style="color: rgb(0, 128, 128);">--</span>
				<span style="color: rgb(0, 128, 128);">where   d.name='pa_T_FORM_FI'         --如果只查询指定表,加上此条件  </span>
				<span style="color: rgb(0, 128, 128);">
						<br />
				</span>
				<span style="color: rgb(0, 0, 255);">ORDER</span>
				<span style="color: rgb(0, 0, 0);">   </span>
				<span style="color: rgb(0, 0, 255);">BY</span>
				<span style="color: rgb(0, 0, 0);">  <br />A.ID,A.COLORDER </span>
		</div>
		<br />
<img src ="http://www.cnitblog.com/seeyeah/aggbug/58722.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/seeyeah/" target="_blank">KiMoGiGi</a> 2009-05-23 18:22 <a href="http://www.cnitblog.com/seeyeah/archive/2009/05/23/58722.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【原】Sql2005 实现递归</title><link>http://www.cnitblog.com/seeyeah/archive/2009/03/25/55749.html</link><dc:creator>KiMoGiGi</dc:creator><author>KiMoGiGi</author><pubDate>Wed, 25 Mar 2009 13:26:00 GMT</pubDate><guid>http://www.cnitblog.com/seeyeah/archive/2009/03/25/55749.html</guid><wfw:comment>http://www.cnitblog.com/seeyeah/comments/55749.html</wfw:comment><comments>http://www.cnitblog.com/seeyeah/archive/2009/03/25/55749.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/seeyeah/comments/commentRss/55749.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/seeyeah/services/trackbacks/55749.html</trackback:ping><description><![CDATA[现有数据结构如下图所示<br /><br /><img height="211" alt="sqlsnap1.jpg" src="http://www.cnitblog.com/images/cnitblog_com/seeyeah/sql1/sqlsnap1.jpg" width="380" border="0" /><br /><br />由U和U2，2个栏位，可以看出此示例数据表示着2条“链”。<br /><br />1、A =》B=》C=》D=》E<br />2、A1=》B1=》C1<br /><br />要搜出这样的数据，oracle有“connect by... start with”来遍历树结构，避免了写递归函数。<br /><br />SQL2005没有对应的函数，但使用SQL2005提供的CTE（Common Table Expression）可以实现“connect by... start with”的遍历。<br /><br />假设我们要找出第一条“链”（A =》B=》C=》D=》E）<br />Sql实现：<br /><br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #0000ff">with</span><span style="COLOR: #000000"> custom_cte_query(id,u,u2)<br /></span><span style="COLOR: #0000ff">as</span><span style="COLOR: #000000"><br />(<br />    </span><span style="COLOR: #008080">--</span><span style="COLOR: #008080">起始条件</span><span style="COLOR: #008080"><br /></span><span style="COLOR: #000000">    </span><span style="COLOR: #0000ff">select</span><span style="COLOR: #000000"> id,u,u2 <br />    </span><span style="COLOR: #0000ff">from</span><span style="COLOR: #000000"> cte_test<br />    </span><span style="COLOR: #0000ff">where</span><span style="COLOR: #000000"> u </span><span style="COLOR: #808080">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #ff0000">'</span><span style="COLOR: #ff0000">A</span><span style="COLOR: #ff0000">'</span><span style="COLOR: #000000"><br />    </span><span style="COLOR: #0000ff">union</span><span style="COLOR: #000000"> </span><span style="COLOR: #808080">all</span><span style="COLOR: #000000"><br />    </span><span style="COLOR: #008080">--</span><span style="COLOR: #008080">递归条件</span><span style="COLOR: #008080"><br /></span><span style="COLOR: #000000">    </span><span style="COLOR: #0000ff">select</span><span style="COLOR: #000000"> a.id,a.u,a.u2<br />    </span><span style="COLOR: #0000ff">from</span><span style="COLOR: #000000"> cte_test a<br />    </span><span style="COLOR: #0000ff">inner</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">join</span><span style="COLOR: #000000"> <br />    custom_cte_query b<br />    </span><span style="COLOR: #0000ff">on</span><span style="COLOR: #000000"> (a.u </span><span style="COLOR: #808080">=</span><span style="COLOR: #000000"> b.u2)<br />)<br /><br /></span><span style="COLOR: #0000ff">select</span><span style="COLOR: #000000"> </span><span style="COLOR: #808080">*</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">from</span><span style="COLOR: #000000"> custom_cte_query</span></div><br />执行获得结果<br /><img height="138" alt="sqlsnap2.jpg" src="http://www.cnitblog.com/images/cnitblog_com/seeyeah/sql1/sqlsnap2.jpg" width="147" border="0" /><br /><br />参考： 
<div class="title">1、<a href="http://msdn.microsoft.com/zh-cn/library/ms186243(SQL.90).aspx" target="_blank">使用公用表表达式的递归查询<!----></a><br />2、<a href="http://msdn.microsoft.com/zh-cn/library/ms190766(SQL.90).aspx" target="_blank">使用公用表表达式</a></div><!--Content type: DocStudio. Transform: devdiv2mtps.xslt.--><img src ="http://www.cnitblog.com/seeyeah/aggbug/55749.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/seeyeah/" target="_blank">KiMoGiGi</a> 2009-03-25 21:26 <a href="http://www.cnitblog.com/seeyeah/archive/2009/03/25/55749.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>NHibernate Best Practices with ASP.NET, 1.2nd Ed.</title><link>http://www.cnitblog.com/seeyeah/archive/2007/11/10/36125.html</link><dc:creator>KiMoGiGi</dc:creator><author>KiMoGiGi</author><pubDate>Sat, 10 Nov 2007 13:39:00 GMT</pubDate><guid>http://www.cnitblog.com/seeyeah/archive/2007/11/10/36125.html</guid><wfw:comment>http://www.cnitblog.com/seeyeah/comments/36125.html</wfw:comment><comments>http://www.cnitblog.com/seeyeah/archive/2007/11/10/36125.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/seeyeah/comments/commentRss/36125.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/seeyeah/services/trackbacks/36125.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 引用http://www.codeproject.com/aspnet/NHibernateBestPractices.asp    Download Basic NHibernate Sample - 1,477.9 KB    Download "Enterprise" NHibernate Sample - 2,168.9 KB Preface to the 1.2n...&nbsp;&nbsp;<a href='http://www.cnitblog.com/seeyeah/archive/2007/11/10/36125.html'>阅读全文</a><img src ="http://www.cnitblog.com/seeyeah/aggbug/36125.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/seeyeah/" target="_blank">KiMoGiGi</a> 2007-11-10 21:39 <a href="http://www.cnitblog.com/seeyeah/archive/2007/11/10/36125.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>使用NorthWind作为示例数据库</title><link>http://www.cnitblog.com/seeyeah/archive/2007/08/14/31759.html</link><dc:creator>KiMoGiGi</dc:creator><author>KiMoGiGi</author><pubDate>Mon, 13 Aug 2007 16:38:00 GMT</pubDate><guid>http://www.cnitblog.com/seeyeah/archive/2007/08/14/31759.html</guid><description><![CDATA[<p><strong><font size=3>使用NorthWind作为示例数据库</font></strong></p>
<p>NorthWind数据库风采不减当年，为了演示动态数据控件的强大功能，这里我们也使用了NorthWind数据库。</p>
<p>顺便介绍一下在VS 2005中自带的SQL Express中使用NorthWind数据库的方法，方便没装数据库的朋友：</p>
<p>首先下载并安装原始的NorthWind数据库：<a title=http://www.microsoft.com/downloads/details.aspx?familyid=06616212-0356-46a0-8da2-eebc53a68034&amp;displaylang=en href="http://www.microsoft.com/downloads/details.aspx?familyid=06616212-0356-46a0-8da2-eebc53a68034&amp;displaylang=en" target=_blank><u><font color=#800080>http://www.microsoft.com/downloads/details.aspx?familyid=06616212-0356-46a0-8da2-eebc53a68034&amp;displaylang=en</font></u></a></p>
<p>然后在命令行窗口中导航至"c:\Sql Server 2000 Sample Databases"</p>
<p>输入如下命令即可（要将[Computer Name]替换为你的计算机名）：</p>
<div class=csharpcode>
<pre class=alt>osql -E -S [Computer Name]\SqlExpress -i instnwnd.sql </pre>
</div>
<img src ="http://www.cnitblog.com/seeyeah/aggbug/31759.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/seeyeah/" target="_blank">KiMoGiGi</a> 2007-08-14 00:38 <a href="http://www.cnitblog.com/seeyeah/archive/2007/08/14/31759.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>如何解决ACCESS中SELECT TOP语句竟然返回多条记录的问题？ </title><link>http://www.cnitblog.com/seeyeah/archive/2006/12/03/19869.html</link><dc:creator>KiMoGiGi</dc:creator><author>KiMoGiGi</author><pubDate>Sat, 02 Dec 2006 16:18:00 GMT</pubDate><guid>http://www.cnitblog.com/seeyeah/archive/2006/12/03/19869.html</guid><wfw:comment>http://www.cnitblog.com/seeyeah/comments/19869.html</wfw:comment><comments>http://www.cnitblog.com/seeyeah/archive/2006/12/03/19869.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/seeyeah/comments/commentRss/19869.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/seeyeah/services/trackbacks/19869.html</trackback:ping><description><![CDATA[
		<div class="postbody">
				<p>
						<strong>关于ACCESS中TOP 功能的一个问题<br /></strong>
						<br />我一直以为ACCESS的SQL语句与SQL Server差不多，当时也使用 Select top n在ACCESS测试过，都是成功的，但昨天突然发现ACCESS中有个问题：<br />  如果在查询TOP语句的后面使用Order by，而且Order by字段中有重复值的话，那么这个TOP很可能会失效，<br />会返回所有记录<br />比如：<br /></p>
				<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
						<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">Select</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">top</span>
						<span style="COLOR: #000000"> </span>
						<span style="FONT-WEIGHT: bold; COLOR: #800000">5</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">from</span>
						<span style="COLOR: #000000"> News </span>
						<span style="COLOR: #0000ff">order</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">by</span>
						<span style="COLOR: #000000"> CreateDate</span>
				</div>
				<p>如果CreateDate中有重复值，那么很有可能会显示出所有的记录来，此TOP功能会失效的<br />但如果CreateDate中无重复值，那么TOP功能还是有效的<br /><br />因此，在ACCESS中使用TOP功能要注意一下order by的字段是否会有重复值，如果象CreateDate是"年-月-日 时：分：秒"的，那基本上问题不大的。<br />但为了保险起见，我们也可以采用“加入主键”的方式：<br /></p>
				<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
						<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" />
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">Select</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">top</span>
						<span style="COLOR: #000000"> </span>
						<span style="FONT-WEIGHT: bold; COLOR: #800000">5</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">from</span>
						<span style="COLOR: #000000"> News </span>
						<span style="COLOR: #0000ff">order</span>
						<span style="COLOR: #000000"> </span>
						<span style="COLOR: #0000ff">by</span>
						<span style="COLOR: #000000"> CreateDate </span>
						<span style="COLOR: #0000ff">desc</span>
						<span style="COLOR: #000000">,id </span>
						<span style="COLOR: #0000ff">desc</span>
				</div>
				<p>
						<br />用主键作“不可能重复”的保障就可以防止此问题出现了！！<br /><br />希望这对某些朋友有用！！<br /><br />在网上找到一个相关的解释：<br /><span style="BACKGROUND-COLOR: #c0c0c0">JET SQL不是 T-SQL语句。<br />jet sql 会返回重复值，也就是说，一个表中如果 ORDER BY 的字段都是 0 ，一共有100条记录，即使你用SELECT TOP 1 来返回记录，也同样返回100条记录，因为 JET DB 无从在这100条记录里面判断先后次序，只能返回100条。要解决此问题可以在后面加入一个主键字段</span></p>
		</div>
<img src ="http://www.cnitblog.com/seeyeah/aggbug/19869.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/seeyeah/" target="_blank">KiMoGiGi</a> 2006-12-03 00:18 <a href="http://www.cnitblog.com/seeyeah/archive/2006/12/03/19869.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Sql搜集</title><link>http://www.cnitblog.com/seeyeah/archive/2006/10/18/18079.html</link><dc:creator>KiMoGiGi</dc:creator><author>KiMoGiGi</author><pubDate>Wed, 18 Oct 2006 05:22:00 GMT</pubDate><guid>http://www.cnitblog.com/seeyeah/archive/2006/10/18/18079.html</guid><wfw:comment>http://www.cnitblog.com/seeyeah/comments/18079.html</wfw:comment><comments>http://www.cnitblog.com/seeyeah/archive/2006/10/18/18079.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/seeyeah/comments/commentRss/18079.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/seeyeah/services/trackbacks/18079.html</trackback:ping><description><![CDATA[
		<p>select a ,b from t where a in (select distinct a from t)<br />select a,min(b) as b from t group by a<br /><br /><br />写sql语句实现下列查询<br />(表)t<br />a b(列)<br />1 2<br />1 3 <br />1 4<br />2 1<br />2 2<br />3 1<br />4 1<br />5 3<br />5 2<br />查询结果要求<br />a b<br />1 2<br />2 1<br />3 1 <br />4 1<br />5 2</p>
		<p> </p>
<img src ="http://www.cnitblog.com/seeyeah/aggbug/18079.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/seeyeah/" target="_blank">KiMoGiGi</a> 2006-10-18 13:22 <a href="http://www.cnitblog.com/seeyeah/archive/2006/10/18/18079.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>插入最新记录的ID</title><link>http://www.cnitblog.com/seeyeah/archive/2006/06/23/12747.html</link><dc:creator>KiMoGiGi</dc:creator><author>KiMoGiGi</author><pubDate>Fri, 23 Jun 2006 06:06:00 GMT</pubDate><guid>http://www.cnitblog.com/seeyeah/archive/2006/06/23/12747.html</guid><wfw:comment>http://www.cnitblog.com/seeyeah/comments/12747.html</wfw:comment><comments>http://www.cnitblog.com/seeyeah/archive/2006/06/23/12747.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/seeyeah/comments/commentRss/12747.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/seeyeah/services/trackbacks/12747.html</trackback:ping><description><![CDATA[
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee">
				<img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #000000">你的sql语句<br /><img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />string  SqlStr</span>
				<span style="COLOR: #808080">=</span>
				<span style="COLOR: #000000">@"</span>
				<span style="COLOR: #0000ff">insert</span>
				<span style="COLOR: #000000">  </span>
				<span style="COLOR: #0000ff">into</span>
				<span style="COLOR: #000000">    </span>
				<span style="COLOR: #0000ff">table</span>
				<span style="COLOR: #000000">(……)</span>
				<span style="COLOR: #0000ff">values</span>
				<span style="COLOR: #000000">(……)      </span>
				<span style="COLOR: #0000ff">select</span>
				<span style="COLOR: #000000">  </span>
				<span style="COLOR: #ff00ff">SCOPE_IDENTITY</span>
				<span style="COLOR: #000000">()    </span>
				<span style="COLOR: #0000ff">as</span>
				<span style="COLOR: #000000">  ＇myNewId＇";<br /><img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />执行sql<br /><img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />SqlDataReader  myDr</span>
				<span style="COLOR: #808080">=</span>
				<span style="COLOR: #000000">用ExecuteReader方法执行你的SQL语句<br /><img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />获得ID<br /><img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />myDr.GetValue(</span>
				<span style="FONT-WEIGHT: bold; COLOR: #800000">0</span>
				<span style="COLOR: #000000">).ToString()<br /><img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />注：<br /><img id="Codehighlighter1_199_256_Open_Image" onclick="this.style.display='none'; Codehighlighter1_199_256_Open_Text.style.display='none'; Codehighlighter1_199_256_Closed_Image.style.display='inline'; Codehighlighter1_199_256_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_199_256_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_199_256_Closed_Text.style.display='none'; Codehighlighter1_199_256_Open_Image.style.display='inline'; Codehighlighter1_199_256_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span>
				<span id="Codehighlighter1_199_256_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</span>
				<span id="Codehighlighter1_199_256_Open_Text">
						<span style="COLOR: #008080">/*</span>
						<span style="COLOR: #008080">  对于想要得到一个表中的最后一个插入操作所产生的ID的最好用IDENT_CURRENT(＇TBName＇)</span>
						<span style="COLOR: #008080">*/</span>
				</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">INSERT</span>
				<span style="COLOR: #000000">  </span>
				<span style="COLOR: #0000ff">INTO</span>
				<span style="COLOR: #000000">  </span>
				<span style="COLOR: #0000ff">table</span>
				<span style="COLOR: #000000">(field1,field2,<img src="http://www.cnitblog.com/images/dot.gif" />)  </span>
				<span style="COLOR: #0000ff">VALUES</span>
				<span style="COLOR: #000000">("field1Value","field2Value",<img src="http://www.cnitblog.com/images/dot.gif" />)  </span>
				<span style="COLOR: #0000ff">SELECT</span>
				<span style="COLOR: #000000">  IDENT_CURRENT(＇recordID＇)  </span>
				<span style="COLOR: #0000ff">as</span>
				<span style="COLOR: #000000">  newIDValue<br /><img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" /><br /><img id="Codehighlighter1_390_432_Open_Image" onclick="this.style.display='none'; Codehighlighter1_390_432_Open_Text.style.display='none'; Codehighlighter1_390_432_Closed_Image.style.display='inline'; Codehighlighter1_390_432_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_390_432_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_390_432_Closed_Text.style.display='none'; Codehighlighter1_390_432_Open_Image.style.display='inline'; Codehighlighter1_390_432_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span>
				<span id="Codehighlighter1_390_432_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</span>
				<span id="Codehighlighter1_390_432_Open_Text">
						<span style="COLOR: #008080">/*</span>
						<span style="COLOR: #008080">对于马上使用的刚才插入的新记录ID用SCOPE_IDENTITY()是最合适的</span>
						<span style="COLOR: #008080">*/</span>
				</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">INSERT</span>
				<span style="COLOR: #000000">  </span>
				<span style="COLOR: #0000ff">INTO</span>
				<span style="COLOR: #000000">  </span>
				<span style="COLOR: #0000ff">table</span>
				<span style="COLOR: #000000">(field1,field2,<img src="http://www.cnitblog.com/images/dot.gif" />)  </span>
				<span style="COLOR: #0000ff">VALUES</span>
				<span style="COLOR: #000000">("field1Value","field2Value",<img src="http://www.cnitblog.com/images/dot.gif" />)  </span>
				<span style="COLOR: #0000ff">SELECT</span>
				<span style="COLOR: #000000">  </span>
				<span style="COLOR: #ff00ff">SCOPE_IDENTITY</span>
				<span style="COLOR: #000000">()  </span>
				<span style="COLOR: #0000ff">as</span>
				<span style="COLOR: #000000">  newIDValue<br /><img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" /><br /><img id="Codehighlighter1_557_598_Open_Image" onclick="this.style.display='none'; Codehighlighter1_557_598_Open_Text.style.display='none'; Codehighlighter1_557_598_Closed_Image.style.display='inline'; Codehighlighter1_557_598_Closed_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_557_598_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_557_598_Closed_Text.style.display='none'; Codehighlighter1_557_598_Open_Image.style.display='inline'; Codehighlighter1_557_598_Open_Text.style.display='inline';" src="http://www.cnitblog.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span>
				<span id="Codehighlighter1_557_598_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</span>
				<span id="Codehighlighter1_557_598_Open_Text">
						<span style="COLOR: #008080">/*</span>
						<span style="COLOR: #008080">对于想要得到一系列的操作中最后得到的那个自增的ID最好用@@IDENTITY</span>
						<span style="COLOR: #008080">*/</span>
				</span>
				<span style="COLOR: #000000">
						<br />
						<img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />
				</span>
				<span style="COLOR: #0000ff">INSERT</span>
				<span style="COLOR: #000000">  </span>
				<span style="COLOR: #0000ff">INTO</span>
				<span style="COLOR: #000000">  </span>
				<span style="COLOR: #0000ff">table</span>
				<span style="COLOR: #000000">(field1,field2,<img src="http://www.cnitblog.com/images/dot.gif" />)  </span>
				<span style="COLOR: #0000ff">VALUES</span>
				<span style="COLOR: #000000">("field1Value","field2Value",<img src="http://www.cnitblog.com/images/dot.gif" />)  </span>
				<span style="COLOR: #0000ff">SELECT</span>
				<span style="COLOR: #000000">  </span>
				<span style="FONT-WEIGHT: bold; COLOR: #008000">@@IDENTITY</span>
				<span style="COLOR: #000000">  </span>
				<span style="COLOR: #0000ff">as</span>
				<span style="COLOR: #000000">  newIDValue <br /><img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" /></span>
		</div>
<img src ="http://www.cnitblog.com/seeyeah/aggbug/12747.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/seeyeah/" target="_blank">KiMoGiGi</a> 2006-06-23 14:06 <a href="http://www.cnitblog.com/seeyeah/archive/2006/06/23/12747.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>