how to delete the duplicate columns permanently in SQL
Answers were Sorted based on User's Feedback
Answer / 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 |
what are informats in sas? : Sas-administrator
how to remove the duplicates by proc sql?
What is program data vector (pdv)?
how to add distinctly var variable values ex.. Data a; input var; datalines; 0 1 2 3 -1 -2 -3 ; run; adding all +ve value in one varibale n do the same for -ve too
what techniques and/or procs do you use for tables? : Sas programming
There is a river notoriously known for it?s large crocodile population. With ease, how do you safely cross it?
When looking for data contained in a character string of 150 bytes, which function is the best to locate that data: scan, index, or indexc?
how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming
Hi im new to sas. I have a file with some charecter variables and some numeric variables now i want to load charecter variables into one datastep and numeric variables into another data step pls let me know Thanks
for whom is sas data integration studio designed? : Sas-di
what are _numeric_ and _character_ and what do they do? : Sas programming
In SAS how to read the variable values having different formats. eg:mar99,mar1999 (in a single variable)
8 Answers GSK GlaxoSmithKline,