how to delete the duplicate columns permanently in SQL

Answer Posted / chandrakanth

proc sql;
create table dataset-name as select distinct(variable-name),list-all-the-variables-you-want from dataset-name;
quit;

please let me know if you have any questions

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the basic structure sas administrator? : Sas-administrator

777


what is sas olap server? : Sas-di

955


how to debug and test the sas program? : Sas-administrator

771


explain about various caches available in data integrator? : Sas-di

792


Explain substr function?

780


What is the function of output statement in a SAS Program?

799


what is intially documentation in sas?

4613


How does the internal authentication work in sas? : sas-grid-administration

812


what are the types of interactive display types? : Sas-bi

840


What is the SAS data set?

884


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

861


What would you change about your job?

2134


What are the data types does SAS contain?

844


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

737


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

2527