Hi I have code like this: %let year=2019;
proc sql;
select price as price_&year
from my_data;
quit; With this the name of variable is price_2019 like I wanted. However, is there a way to use that specific macro variable same way to get other years too? I tried to use price_&year-1 but it didn't work. It feels stupid to make own macro for every year.
... View more