Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How would you delete observations with duplicate keys?

Answer Posted / sastechies

2 ways

1.Proc Sort with Dupkey and Noduprecs options
2.Datastep using a combination of first.var and last.var
variables...

However one common mistake one might do with Proc Sort
NoDup here is that missing all the variables in the By
statement..

Read here...
http://sastechies.blogspot.com/2009/12/common-programming-
mistake-with-proc.html

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the table names in oracle database...?

2703


Mention common programming errors committed in sas ?

1074


How are numeric and character missing values represented internally?

1623


what is sas database server? : Sas-di

1066


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

1026


What are the special input delimiters used in SAS?

1114


What are the prime responsibilities of data integration administrator? : Sas-di

1011


What is the difference between reading data from an external file and reading data from an existing data set?

1134


what are sas bi dashboard components? : Sas-bi

1120


Differences between where and if statement?

1031


Explain what is SAS informats?

1051


Explain data step in SAS

1031


How can I remove header from output data set?

2583


Mention the difference between ceil and floor functions in sas?

1111


What are all the problems you faced while validating tables and reports?

3410