how to delete the duplicates by using proc sql?

Answer Posted / shivakrishna.yenaganti

Proc SQL noprint;
create table unique as select distinct (*) from dsn;
quit;

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

949


how to remove duplicates using proc sql?

857


what are validation tools that are used in sas? : Sas-administrator

812


What are the different operating system platforms in which we can use sas? : sas-grid-administration

793


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

1877


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

762


Which command is used to save logs in the external file?

791


Mention what is the difference between nodupkey and nodup options?

778


Differentiate input and infile.

809


what is the difference between unique key and primary key? : Sas-di

816


what is the difference between infile and input? : Sas-administrator

837


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

2310


What is the difference between proportion and average?

2991


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

931


What is interleaving in SAS?

855