How would you delete observations with duplicate keys?
Answer Posted / g.jyotshna
proc sort data=datasetname nodup;
by var;
run;
proc sort data=datasetname nodupkey;
by var;
run;
proc sort data=datasetname noduprecs;
by var;
run;
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Differentiate between ceil and floor functions.
What is the maximum length of the macro variable?
what is ae onset date n what is RDS
how does sas handle missing values in assignment statements? : Sas programming
What are the difference between ceil and floor functions in sas?
Mention how to limit decimal places for the variable using proc means?
AE datasets names? how many types?
what is snowflake schema? : Sas-di
How would you identify a macro variable? : sas-macro
what is sas metadata server? : Sas-di
What was the last computer book you purchased? Why?
What is the role of sas grid administrator? : sas-grid-administration
In ARRAY processing, what does the DIM function do?
what is sas application server? : Sas-di
how do the in= variables improve the capability of a merge? : Sas programming