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
If a variable contains letters or special characters, can it be numeric data type?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
what are the best practices to process the large data sets in sas programming? : Sas-administrator
How many ways to overcome a missing values???
What is the difference between where and if statement?
What are the different versions of sas that you have used until now? : sas-grid-administration
How necessary is it to be creative in your work?
What is the difference between order and group variable in proc report?
Which command is used to perform sorting in sas program?
To what type of programms have you used scratch macros?
how does sas handle missing values in a merge? : Sas programming
Explain how you can debug and test your SAS program?
what type of graphs we will create(for 2+years candidates)?
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
What areas of SAS are you most interested in?