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 are the different operating system platforms in which we can use sas? : sas-grid-administration
why is a stop statement needed for the point=option on a set statement? : Sas programming
What are the different servers in sas? : sas-grid-administration
what is the basic structure sas administrator? : Sas-administrator
Mention the category in which sas informats are placed?
what do you mean by data staging area? : Sas-di
what is proc Index? and what is proc document?
What is the use of divide function?
what are the scrubbing procedures in sas? : Sas programming
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
why is sas considered self-documenting? : Sas programming
What does PROC print, and PROC contents do?
What was the last computer book you purchased? Why?
What is SAS? What are the functions does it performs?
Mention what is SAS data set?