Hi, In order to measure performance and whether we can reduce any execution time, I am trying to convert some of SAS code into SQL query. While doing it, I came across a piece of code weight is being calculated. Need to know how SAS calculates weight for any given column so that I can try and replicate the same using SQL. proc means data=input_file noprint; var C_A/weight=T_A; by period; output out=output_file mean= Any insight on this would be of great help to me. Thanks, ankur
... View more