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 |
how would you create multiple observations from a single observation? : Sas programming
Write SAS codes to compare two datasets. Suppose the allowable difference is 0.1.
data task; input id date date9. visit; cards; 101 01jan2015 1 101 02jan2015 2 101 06jan2015 3 102 04jan2015 1 102 07jan2015 2 102 12jan2015 3 103 06jan2015 1 103 13jan2015 2 ; run; write a program to find out missing dates between visits by each subject.
Name and describe few sas character functions that are used for data cleaning in brief.
Describe the ways in which you can create macro variables? : sas-macro
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable?
name few built in sas transformation in DI studio ?
Which are the statements whose placement in the data step is critical?
Are you familiar with special input delimiters How are they used?
Have you used macros? For what purpose you have used? : sas-macro
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
how to extract data from SAP servers? Is like oracle servers or any other methods to extract please reply me.