The Legacy Learner
Wednesday, January 16, 2019
SAS: Eliminate duplicate records without variables list
SAS: Eliminate duplicate records without variables list
Trick: Use
noduprecs
on the proc sort statement, and
_ALL_
in the by statement.
proc sort data=work.with_dupes out=work.without_dupes
noduprecs
;
by
_ALL_
;
run;
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment