If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?
Answer Posted / vinod swarna
use select statement with just those 5 variables:
proc sql;
create table only5 as
select var1,var2,var3,var4,var5
from example;
quit;
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
what is sas database server? : Sas-di
what is data access? : Sas-di
What will calendar procedure do?
How many data types are there in SAS?
What do you code to create a macro? : sas-macro
Explain substr function?
How will you generate test data with no input data?
how to do user inputs and command line arguments in sas?
What is the use of divide function?
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
Describe a time when you were really stuck on a problem and how you solved it?
What is the role of sas grid administrator? : sas-grid-administration
Tell me more about the parameters in macro? : sas-macro
In proc transpose and data step with arrays which one you pick?
what versions of sas have you used (on which platforms)? : Sas programming