There are 200 observations in a dataset, i want to pull out
the observation no's 100, 150,180,190 by using Proc SQL? How
you can get it?
Answer Posted / vipin choudhary
Proc Sql;
Select * from <dataset name>
where _n_ in (100,150,180,190);
quit;
| Is This Answer Correct ? | 12 Yes | 29 No |
Post New Answer View All Answers
explain the main difference between the nodup and nodupkey options? : Sas-administrator
Describe the ways in which you can create macro variables?
what is data access? : Sas-di
Give an example where SAS fails to convert character value to numeric value automatically?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Describe the function and untility of the most difficult SAS macro that you have written.
do you need to know if there are any missing values? : Sas programming
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
Mention few capabilities of sas framework.
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
What do the put and input function do?
What is program data vector (pdv)?
For what purpose would you use the RETAIN statement?
What is the basic syntax style in SAS?
I have a dataset concat having a variable a b & c. How to rename a b to e & f?