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 |
explain the use of % includes a statement in sas? : Sas-administrator
Give an example where SAS fails to convert character value to numeric value automatically?
What are the data types that sas contain?
what is sas application server? : Sas-di
what is the use of catalog?
Describe the types of SAS programming tasks that you performed like Tables? Listings? Graphics? Ad hoc reports? Other?
What are the efficacy variables in your study?
2 Answers Accenture, Quintiles,
what is the need of INDEX in datasets?
What is the one statement to set the criteria of data that can be coded in any step?
What are the ways to do a “table lookup” in sas?
how can you import .csv file in to sas? : Sas programming
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration