Hello. I have the following formula in a stored procedure:
set @pYTDAnnual = (((@pYTD / 76) *365) / @pStoreEmployees) * 100
Is there a way to insert the julian date minus 1 into this formula? That way it would dynamically give me the 76 w/out me having to modify this every day.
set @pYTDAnnual = (((@pYTD / 76) *365) / @pStoreEmployees) * 100
Is there a way to insert the julian date minus 1 into this formula? That way it would dynamically give me the 76 w/out me having to modify this every day.