Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

If a variable contains letters or special characters, can it be numeric data type?

1168


How do you convert basic cube to transaction cube and transaction cube to basic cube?

2196


what are the best practices to process the large data sets in sas programming? : Sas-administrator

977


How many ways to overcome a missing values???

2771


What is the difference between where and if statement?

1081


What are the different versions of sas that you have used until now? : sas-grid-administration

1290


How necessary is it to be creative in your work?

2434


What is the difference between order and group variable in proc report?

1382


Which command is used to perform sorting in sas program?

1007


To what type of programms have you used scratch macros?

2538


how does sas handle missing values in a merge? : Sas programming

998


Explain how you can debug and test your SAS program?

960


what type of graphs we will create(for 2+years candidates)?

2256


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

1190


What areas of SAS are you most interested in?

1485