How would you delete observations with duplicate keys?

Answer Posted / rohit

You can also use a Proc SQL statement with a Distinct
keyword.

Proc Sql;
Select Distinct tablename.* from tablename;
Quit;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain the main difference between the nodup and nodupkey options? : Sas-administrator

918


Are you sensitive to code walk-throughs peer review or QC review?

2890


what are the component of range? : Sas-bi

812


explain about sas business intelligence? : Sas-bi

816


How does the internal authentication work in sas? : sas-grid-administration

823


What are the default statistics for means procedure?

878


Describe the function and utility of the most difficult SAS macro that you have written?

2258


Describe a time when you were really stuck on a problem and how you solved it?

2419


What do you know about sas data set?

803


Which function is used to count the number of intervals between two sas dates?

840


what has been your most common programming mistake? : Sas programming

794


If money were no object, what would you like to do?

2899


What is the purpose of trailing @ and @@? How do you use them?

781


what is slowly changing dimension? : Sas-di

854


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2181