How can i save table and it should have date of save in the name of table
so how can i save table ...
proc sql,
create table work.zaloha_% as....;
quit; (and % should be for today 20012023, tomorrow it should be 21012023.... and so on, so i want to have backup of table saved every day. how can i do it?
Thanks.
You would be wise to use dates that sort properly, but the way you have chosen the dates, they will not sort properly, the table for 20012023 will sort above 20022023 but it will not be next to 21012023. So, use YYMMDD dates.
create table work.zaloha_%sysfunc(putn(%sysfunc(today()),yymmddn8.)) ...
You would be wise to use dates that sort properly, but the way you have chosen the dates, they will not sort properly, the table for 20012023 will sort above 20022023 but it will not be next to 21012023. So, use YYMMDD dates.
create table work.zaloha_%sysfunc(putn(%sysfunc(today()),yymmddn8.)) ...
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.