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 |
If you were told to create many records from one record, show how you would do this using array and with proc transpose?
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
How we can call macros with in data step? : sas-macro
Name statements that function at both compile and execution time.
what is operational data and operational system? : Sas-di
i have a dataset with 100000 records. i want 100 records from that dataset and create a dataset.we need to pick the observations random order like 100obs,500obs,1020obs,1890obs,2565obs like that i need 100 obs in random order? how can we create this one?
What is the difference between the proc sql and data step?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
Are you familiar with special input delimiters? How are they used?
Which date function advances a date, time or datetime value by a given interval?
What would you change about your job?
diff between nodup rec and ondup key???