I have a recordset that I would like to output by Fiscal Qaurter. The query has a condition to pull only records where the year part of the DATE_CREATED value equals the passed in year (@filterYear). Id like to output the records by Fiscal Qtr: FY04 ---QTR1 [Jan-Mar] -----record 1 -----record 2 -----record 3 -----record 4 -----record 5 ---QTR2 [Apr-Jun] -----record 1 -----record 2 -----record 3 -----record 4 -----record 5 ---QTR3 [Jul-Sep] -----record 1 -----record 2 -----record 3 -----record 4 -----record 5 ---QTR4 [Oct-Dec] -----record 1 -----record 2 -----record 3 -----record 4 -----record 5 How would I go about this in the SQL? I am using SQL Server 2K. Thanks, Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184584 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54