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
name several ways to achieve efficiency in your program? : Sas programming
AE datasets names? how many types?
what versions of sas have you used (on which platforms)? : Sas programming
How many data types are there in SAS?
What are the special input delimiters used in SAS?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
what is the use of proc contents and proc print in sas? : Sas-administrator
what is the difference between unique key and primary key? : Sas-di
how can you put a "trace" in your program? : Sas programming
What is the purpose of _character_ and _numeric_?
Name and describe few sas character functions that are used for data cleaning in brief.
explain the key concept of sas? : Sas-administrator
What are the ways in which macro variables can be created in sas programming?
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5