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

Approximately what date is represented by the SAS date value of 730?

1213


What are the ways to do a “table lookup” in sas?

1027


Mention the validation tools used in SAS?

1159


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?

2453


what is hierarchy flattening? : Sas-di

1071


why is sas data integration studio important? : Sas-di

1029


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

1100


What is the basic syntax style in SAS?

1157


What is the difference between the proc sql and data step?

1169


what is hash files in sas and why we are using this one in sas?

2205


What is the maximum length of the macro variable? : sas-macro

1086


Tell me more about the parameters in macro? : sas-macro

1049


how will you locate the sas platform applications? : Sas-bi

1023


what are _numeric_ and _character_ and what do they do? : Sas programming

1144


How will you generate test data with no input data?

1163