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 |
For what purposes have you used sas macros? : sas-macro
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
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
what does the run statement do? : Sas programming
What do the put and input function do?
How do you add a number to a macro variable?
In a shcool there are 1000 students. After completion of every test in 6 subjects , each subject teacher submit the marks of every student at different times and loaded in the database commonly. How will you seperate the top two subject marks for each each studet using SAS?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
how can u join the two tables without using proc sql Joins and nested queries ?
What is the use of stop statement?
How could you generate test data with no input data?