<?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: Year-to-date alternatives</title>
	<atom:link href="http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/</link>
	<description>Delivered Intelligence</description>
	<lastBuildDate>Fri, 30 Jul 2010 17:54:00 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter Scott</title>
		<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/comment-page-1/#comment-4360</link>
		<dc:creator>Peter Scott</dc:creator>
		<pubDate>Fri, 16 Mar 2007 22:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/#comment-4360</guid>
		<description>Sorry, that is not the sort of thing I would do.
I would think about using inbuilt timezone functionality within Oracle or the operating system to work this sort of thing out. You have to trust the vendor to get it right though.</description>
		<content:encoded><![CDATA[<p>Sorry, that is not the sort of thing I would do.<br />
I would think about using inbuilt timezone functionality within Oracle or the operating system to work this sort of thing out. You have to trust the vendor to get it right though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rahman</title>
		<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/comment-page-1/#comment-4361</link>
		<dc:creator>rahman</dc:creator>
		<pubDate>Wed, 14 Mar 2007 05:33:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/#comment-4361</guid>
		<description>Calculate a specific date of a year from a given date of any year and precisely find the data for daylight savings

eg. 03/11/07 is the daylight savings date for 2007 so what is the date for next year daylight savings date which is 03/09/07.  Thank you</description>
		<content:encoded><![CDATA[<p>Calculate a specific date of a year from a given date of any year and precisely find the data for daylight savings</p>
<p>eg. 03/11/07 is the daylight savings date for 2007 so what is the date for next year daylight savings date which is 03/09/07.  Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Scott</title>
		<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/comment-page-1/#comment-4363</link>
		<dc:creator>Peter Scott</dc:creator>
		<pubDate>Fri, 09 Feb 2007 13:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/#comment-4363</guid>
		<description>Rahman
Can you give me an example of what you mean by calculate a specific date of the year?</description>
		<content:encoded><![CDATA[<p>Rahman<br />
Can you give me an example of what you mean by calculate a specific date of the year?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rahman</title>
		<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/comment-page-1/#comment-4362</link>
		<dc:creator>rahman</dc:creator>
		<pubDate>Fri, 09 Feb 2007 07:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/#comment-4362</guid>
		<description>How do I calculate a specific date of the year?  Is there a formula or equation to calculate it?</description>
		<content:encoded><![CDATA[<p>How do I calculate a specific date of the year?  Is there a formula or equation to calculate it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Aldridge</title>
		<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/comment-page-1/#comment-4358</link>
		<dc:creator>David Aldridge</dc:creator>
		<pubDate>Thu, 23 Nov 2006 01:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/#comment-4358</guid>
		<description>Michael,

the tricky parts would probably be that the optimizer would be unsure of the cardinality of the subquery, and that it might interfere with effective partition pruning.</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p>the tricky parts would probably be that the optimizer would be unsure of the cardinality of the subquery, and that it might interfere with effective partition pruning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Smith</title>
		<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/comment-page-1/#comment-4359</link>
		<dc:creator>Michael Smith</dc:creator>
		<pubDate>Wed, 22 Nov 2006 13:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/#comment-4359</guid>
		<description>Instead of the table of date function, how about a with clause that generates the table of dates via a connect-by query and then join that to your main query?</description>
		<content:encoded><![CDATA[<p>Instead of the table of date function, how about a with clause that generates the table of dates via a connect-by query and then join that to your main query?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul James</title>
		<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/comment-page-1/#comment-4353</link>
		<dc:creator>Paul James</dc:creator>
		<pubDate>Fri, 18 Aug 2006 07:44:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/#comment-4353</guid>
		<description>&quot;What happens if I wanted to run a YDT to the 31-Jul some time in Agust?
and if I wanted to look at YTD for a date last year.&quot;

All good points, and shows that my users don&#039;t really use data warehousing to it&#039;s potential.
Mainly because I wouldn&#039;t know how to present YTD at &quot;some point in time&quot; via Business Objects.
We do have a  (month*100)+day column so this could be used for these types of queries.

And yes the flag it does get reset at the start of every year.</description>
		<content:encoded><![CDATA[<p>&#8220;What happens if I wanted to run a YDT to the 31-Jul some time in Agust?<br />
and if I wanted to look at YTD for a date last year.&#8221;</p>
<p>All good points, and shows that my users don&#8217;t really use data warehousing to it&#8217;s potential.<br />
Mainly because I wouldn&#8217;t know how to present YTD at &#8220;some point in time&#8221; via Business Objects.<br />
We do have a  (month*100)+day column so this could be used for these types of queries.</p>
<p>And yes the flag it does get reset at the start of every year.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete_S</title>
		<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/comment-page-1/#comment-4355</link>
		<dc:creator>Pete_S</dc:creator>
		<pubDate>Thu, 17 Aug 2006 18:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/#comment-4355</guid>
		<description>&lt;i&gt;I like these functions for stuff that is very tricky to calculate for some reason, but for simple data sets like this they have the major failing (IMHO) of obscuring the cardinality of the result set from the optimizer.&lt;/i&gt;
Which is of course what it does - see my next post :-)</description>
		<content:encoded><![CDATA[<p><i>I like these functions for stuff that is very tricky to calculate for some reason, but for simple data sets like this they have the major failing (IMHO) of obscuring the cardinality of the result set from the optimizer.</i><br />
Which is of course what it does &#8211; see my next post :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Aldridge</title>
		<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/comment-page-1/#comment-4356</link>
		<dc:creator>David Aldridge</dc:creator>
		<pubDate>Thu, 17 Aug 2006 17:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/#comment-4356</guid>
		<description>I like these functions for stuff that is very tricky to calculate for some reason, but for simple data sets like this they have the major failing (IMHO) of obscuring the cardinality of the result set from the optimizer.

Which suddenly gives me an idea ... back in a moment ...</description>
		<content:encoded><![CDATA[<p>I like these functions for stuff that is very tricky to calculate for some reason, but for simple data sets like this they have the major failing (IMHO) of obscuring the cardinality of the result set from the optimizer.</p>
<p>Which suddenly gives me an idea &#8230; back in a moment &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete_S</title>
		<link>http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/comment-page-1/#comment-4354</link>
		<dc:creator>Pete_S</dc:creator>
		<pubDate>Thu, 17 Aug 2006 12:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.rittmanmead.com/2006/08/16/year-to-date-alternatives/#comment-4354</guid>
		<description>Paul - sounds a nice idea but I see a few problems - true they can be worked around. Do you clear that flag at the start of a new year?

What happens if I wanted to run a YDT to the 31-Jul some time in Agust?
and if I wanted to look at YTD for a date last year.</description>
		<content:encoded><![CDATA[<p>Paul &#8211; sounds a nice idea but I see a few problems &#8211; true they can be worked around. Do you clear that flag at the start of a new year?</p>
<p>What happens if I wanted to run a YDT to the 31-Jul some time in Agust?<br />
and if I wanted to look at YTD for a date last year.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
