Hello guys
I wanted to know if it was possible to speed up a query using metadata. In practice I need the last 3 most recent values of a table of this type:
DATA work.test_;
ENTRY TO B year;
data lines;
5 01 20190105
5 01 20190102
5 01 20190422
5 02 20190422
5 01 20190601
5 01 20190622
5 01 20190601
;
TO RUN;
But it has more than 12 million record
proc univariate data=sashelp.air nextrval=3;
var date;
run;
Register Today!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.