You need to create an In List that it is to be later used in
a Where Clause that includes all the Regions that begin with
the letter A from the sashelp.shoes table. Using PROC SQL
with an into clause create the following string from the
sashelp.shoes table using the variable region
“AFRICA”,”ASIA”,…..
Answers were Sorted based on User's Feedback
Answer / vema reddy dwarampudi
Please add from clause in the above code
proc sql noprint;
select "'"||left(trim(Region))||"'" into :inlist separated
by ','
from sashelp.shoes
where Region like 'A%';
quit;
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vema reddy dwarampudi
proc sql noprint;
select "'"||left(trim(Region))||"'" into :inlist separated
by ','
where Region like 'A%';
quit;
| Is This Answer Correct ? | 1 Yes | 1 No |
what is the usage for assigning error=1 in a dataset ?
how can u extract,transform and loading?
what other SAS features do you use for error trapping and data validation?
How to create a permanent sas data set?
differnce between 8.2 and 9.1.3
What does the RUN statement do?
Which date function advances a date, time or datetime value by a given interval?
what is enterprise guide? What is the use of it? : Sas programming
How to include or exclude specific variables in a data set?
what is the difference between %put and symbolgen?
What do the put and input function do?
How would you code the criteria to restrict the output to be produced?