<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 如何用SQL返回两个日期之间的所有连续日期</title>
	<atom:link href="http://www.os2ora.com/how-to-return-continuous-dates-between-two-dates/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.os2ora.com/how-to-return-continuous-dates-between-two-dates/</link>
	<description>专注于现实世界Oracle数据库的高性能，高可扩展性与新一代数据库Exadata架构</description>
	<lastBuildDate>Thu, 08 Sep 2011 13:01:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Validba&#39;S Home &#187; 求两个时间点之间的时间序列问题</title>
		<link>http://www.os2ora.com/how-to-return-continuous-dates-between-two-dates/comment-page-1/#comment-679</link>
		<dc:creator>Validba&#39;S Home &#187; 求两个时间点之间的时间序列问题</dc:creator>
		<pubDate>Fri, 23 Jul 2010 09:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.os2ora.com/%e5%a6%82%e4%bd%95%e7%94%a8sql%e8%bf%94%e5%9b%9e%e4%b8%a4%e4%b8%aa%e6%97%a5%e6%9c%9f%e4%b9%8b%e9%97%b4%e7%9a%84%e6%89%80%e6%9c%89%e8%bf%9e%e7%bb%ad%e6%97%a5%e6%9c%9f/#comment-679</guid>
		<description>[...] 最后从http://www.os2ora.com/how-to-return-continuous-dates-between-two-dates/发现一个同样的案例,OS2提供了一个非常不错的方法（关于connect by的性能分析详见http://www.os2ora.com/connect-by-performance-tunning/）： [...]</description>
		<content:encoded><![CDATA[<p>[...] 最后从http://www.os2ora.com/how-to-return-continuous-dates-between-two-dates/发现一个同样的案例,OS2提供了一个非常不错的方法（关于connect by的性能分析详见http://www.os2ora.com/connect-by-performance-tunning/）： [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: giser</title>
		<link>http://www.os2ora.com/how-to-return-continuous-dates-between-two-dates/comment-page-1/#comment-278</link>
		<dc:creator>giser</dc:creator>
		<pubDate>Tue, 23 Feb 2010 02:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.os2ora.com/%e5%a6%82%e4%bd%95%e7%94%a8sql%e8%bf%94%e5%9b%9e%e4%b8%a4%e4%b8%aa%e6%97%a5%e6%9c%9f%e4%b9%8b%e9%97%b4%e7%9a%84%e6%89%80%e6%9c%89%e8%bf%9e%e7%bb%ad%e6%97%a5%e6%9c%9f/#comment-278</guid>
		<description>还有一个问题，connect BY不能超过100层啊，我用的是92</description>
		<content:encoded><![CDATA[<p>还有一个问题，connect BY不能超过100层啊，我用的是92</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: giser</title>
		<link>http://www.os2ora.com/how-to-return-continuous-dates-between-two-dates/comment-page-1/#comment-276</link>
		<dc:creator>giser</dc:creator>
		<pubDate>Tue, 23 Feb 2010 01:33:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.os2ora.com/%e5%a6%82%e4%bd%95%e7%94%a8sql%e8%bf%94%e5%9b%9e%e4%b8%a4%e4%b8%aa%e6%97%a5%e6%9c%9f%e4%b9%8b%e9%97%b4%e7%9a%84%e6%89%80%e6%9c%89%e8%bf%9e%e7%bb%ad%e6%97%a5%e6%9c%9f/#comment-276</guid>
		<description>你好，请问为什么
SELECT   to_char((to_date(&#039;20090202&#039;, &#039;yyyyMMdd&#039;) + level - 1), &#039;yyyyMMdd&#039;) day
  FROM dual
connect BY to_date(&#039;20090202&#039;, &#039;yyyyMMdd&#039;) + level - 1 &lt;=
           to_date(&#039;20090102&#039;, &#039;yyyyMMdd&#039;);
会返回一条记录呢?应该是一条都不返回啊</description>
		<content:encoded><![CDATA[<p>你好，请问为什么<br />
SELECT   to_char((to_date(&#8217;20090202&#8242;, &#8216;yyyyMMdd&#8217;) + level &#8211; 1), &#8216;yyyyMMdd&#8217;) day<br />
  FROM dual<br />
connect BY to_date(&#8217;20090202&#8242;, &#8216;yyyyMMdd&#8217;) + level &#8211; 1 &lt;=<br />
           to_date(&#039;20090102&#039;, &#039;yyyyMMdd&#039;);<br />
会返回一条记录呢?应该是一条都不返回啊</p>
]]></content:encoded>
	</item>
</channel>
</rss>

