I have a stored procedure which needs to take the current year as input how do i achieve this?
I tried the following it works in SQL but it gives me an error in Alteryx
declare @dateToday int;
set @dateToday= Year(getDate())
exec source.procedure
@Year = @dateToday