how to delete the duplicates by using proc sql?

Answers were Sorted based on User's Feedback



how to delete the duplicates by using proc sql?..

Answer / shivakrishna.yenaganti

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

Is This Answer Correct ?    22 Yes 2 No

how to delete the duplicates by using proc sql?..

Answer / arpit

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

Is This Answer Correct ?    6 Yes 0 No

how to delete the duplicates by using proc sql?..

Answer / chowdary

In constraints time using unique
In datasets using distinct()

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SAS Interview Questions

what is OLAP?

4 Answers   CitiGroup, TCS,


Describe the function and untility of the most difficult SAS macro that you have written.

0 Answers  


What are the five ways to do a table lookup in sas? : sas-grid-administration

0 Answers  


what is pdv? how it is related to input buffer in sas?

5 Answers   HSBC, Satyam,


what is the need of INDEX in datasets?

6 Answers   CitiGroup,






what is metadata? : Sas-bi

0 Answers  


You need to perform an analysis on a massive dataset by groups, but are unable to sort the data due to memory constraint. How would you accomplish the task?

2 Answers  


What data sets do you need to produce the report?

2 Answers   Novartis,


In the flow of DATA step processing, what is the first action in a typical DATA Step?

6 Answers   Accenture,


How does proc sql work?

0 Answers  


Can we replace a dataset into view?

6 Answers   CliniRx,


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

0 Answers  


Categories