I'm looking to select columns based depending on if they contain the string "time" in the column name.
My first attempt looks like this, but I understand there are some issues, and I'm getting the following - ERROR: The following columns were not found in the contributing tables: name.
proc sql;
select _name_
into :names
from work.dataset1
where (_name_) like '%time%';
quit;
What am I missing, as I'm almost sure I'm using the "Where" function incorrectly.