I'd suggest you create some sort of Date table for this information. But, here is one way to generate the fiscal year start and end based on the current date:SELECT DATEADD(YEAR, (YEAR(SYSDATETIME()) - 1900) - CASE WHEN MONTH(SYSDATETIME()) IN (10, 11, 12) THEN 0 ELSE 1 END, '19001001') FiscalYearStart, DATEADD(YEAR, (YEAR(SYSDATETIME()) - 1900) + CASE WHEN MONTH(SYSDATETIME()) IN (10, 11, 12) THEN 1 ELSE 0 END, '19000930') FiscalYearEnd
EDIT: Had an addition/subtraction sign backwards