I'm trying to calculate a datetime field with the month and day static but the year changes...
for instance @BudgetDate = '10/01/2001'
but the year changes each fiscal year
where
year(getdate()) = correct year because this procedure will only be run at the begining of a new fiscal year
I've tried different combinations of date functions but can't come up
Any suggestions
for instance @BudgetDate = '10/01/2001'
but the year changes each fiscal year
where
year(getdate()) = correct year because this procedure will only be run at the begining of a new fiscal year
I've tried different combinations of date functions but can't come up
Any suggestions