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

Have you ever used the SAS Debugger?

1762


what is the purpose of _error_? : Sas programming

1142


What system options would you use to help debug a macro? : sas-macro

1099


Describe the ways in which you can create macro variables?

1196


In ARRAY processing, what does the DIM function do?

1178


What is the good sas programming practices for processing large data sets?

1124


What is the difference between match merge and one to one merge?

1253


explain what is factor analysis? : Sas-administrator

1116


State the difference between INFORMAT and FORMAT ?

1112


What are the difference between ceil and floor functions in sas?

1354


What is SAS? What are the functions does it performs?

1199


Can you execute macro within another macro? : sas-macro

999


what is the primary data source for the wrs? : Sas-bi

1241


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

1035


what is SAS OPTIMIZATION?

2301