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 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

How do you specify the number of iterations and specific condition within a single do loop?

1103


Explain proc univariate?

1031


Explain proc sort?

1106


What are the table names in oracle database...?

2755


what is proc Index? and what is proc document?

2723


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

1199


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

1047


What are the limitations for memory allocation for SAS variables

1491


how sas deals with business intelligence? : Sas-bi

1056


What are the different versions of sas that you have used until now? : sas-grid-administration

1339


how would you create multiple observations from a single observation? : Sas programming

1005


what is the use of proc sql? : Sas programming

1133


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

1055


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1081


What is the work of tranwrd function?

1246