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 to delete the duplicates by using proc sql?

Answer Posted / arpit

proc sql;
select distinct (*) from sasuser.xyz;
quit.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which date function advances a date, time or datetime value by a given interval? : Sas programming

1037


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

2197


Do you need to rearrange the order of the data for the report?

2302


For what purpose would you use the RETAIN statement?

1511


What is a macro routine?

2708


AE datasets names? how many types?

2493


What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro

1032


which features do you use to check the data validations and errors? : Sas-administrator

1044


What is the difference between where and if statement?

1109


how would you determine the number of missing or nonmissing values in computations? : Sas programming

1136


What are the differences between proc means and proc summary?

1127


Are you involved in writing the inferential analysis plan? Tables specfications?

2219


What is program data vector (pdv) and what are its functions?

1225


What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

1150


how could you generate test data with no input data? : Sas programming

1179