<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Oracle Gotcha: months_between 31-days-per-month assumption</title>
	<link>http://www.pythian.com/blogs/348/oracle-gotcha-months_between</link>
	<description>News and views from Pythian DBAs</description>
	<pubDate>Thu, 20 Nov 2008 18:04:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: laurent schneider</title>
		<link>http://www.pythian.com/blogs/348/oracle-gotcha-months_between#comment-13222</link>
		<dc:creator>laurent schneider</dc:creator>
		<pubDate>Fri, 05 Jan 2007 16:02:37 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/348/oracle-gotcha-months_between#comment-13222</guid>
		<description>I mean, it is only for the fractional part :
select months_between(date '2000-03-15',date '2000-02-15') from dual;
1

In the doc they say: 
&lt;i&gt;Oracle calculates the fractional portion of the result based on a 31-day month&lt;/i&gt;</description>
		<content:encoded><![CDATA[<p>I mean, it is only for the fractional part :<br />
select months_between(date &#8216;2000-03-15&#8242;,date &#8216;2000-02-15&#8242;) from dual;<br />
1</p>
<p>In the doc they say:<br />
<i>Oracle calculates the fractional portion of the result based on a 31-day month</i></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laurent schneider</title>
		<link>http://www.pythian.com/blogs/348/oracle-gotcha-months_between#comment-13221</link>
		<dc:creator>laurent schneider</dc:creator>
		<pubDate>Fri, 05 Jan 2007 15:57:31 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/348/oracle-gotcha-months_between#comment-13221</guid>
		<description>well, this 31-day behaviour is documented</description>
		<content:encoded><![CDATA[<p>well, this 31-day behaviour is documented</p>
]]></content:encoded>
	</item>
</channel>
</rss>
