﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Sriman Bapatla  / Pass in Year and Quarter and get the fiscal start and end dates / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 26 May 2013 01:14:18 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Pass in Year and Quarter and get the fiscal start and end dates</title><link>http://www.sqlservercentral.com/Forums/Topic993277-2793-1.aspx</link><description>As far as I know the quarter function went away a long time ago. Anyway, one thing to note is that this should be a single function (even though I don't like functions at all) with a @mode parameter. Say 0 for start and 1 for end.</description><pubDate>Mon, 27 Sep 2010 07:22:48 GMT</pubDate><dc:creator>jfogel-1131029</dc:creator></item><item><title>RE: Pass in Year and Quarter and get the fiscal start and end dates</title><link>http://www.sqlservercentral.com/Forums/Topic993277-2793-1.aspx</link><description>After correcting the errors I was able to run this query.  Is it just me or shouldn't the first quarter of 2010 be 01-01-2010 to 3-31-2010, not 10-01-2009 to 12-31-2010.  Why does this return the last quarter of 2009 dates?? I know some shops, like mine, have June as the beginning of the Fiscal year, so maybe his shop has October.  Since there were no notes as to this, it's hard to tell.  The solution is interesting, but the date functions cover quarters already, or SQL use to cover this.-Callie97</description><pubDate>Mon, 27 Sep 2010 06:01:38 GMT</pubDate><dc:creator>callie97</dc:creator></item><item><title>Pass in Year and Quarter and get the fiscal start and end dates</title><link>http://www.sqlservercentral.com/Forums/Topic993277-2793-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/T-SQL/71242/"&gt;Pass in Year and Quarter and get the fiscal start and end dates&lt;/A&gt;[/B]</description><pubDate>Sat, 25 Sep 2010 11:28:11 GMT</pubDate><dc:creator>sriman.bapatla</dc:creator></item></channel></rss>