SELECT ( CASE WHEN DATENAME(QUARTER, GETDATE()) = 1 THEN DATENAME(YEAR, DATEADD(YEAR, -1, GETDATE())) ELSE DATENAME(YEAR, GETDATE()) END );