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 / jim

* Setup test data;
data test;
do i=1 to 200;
j=ranuni(i);
output;
end;
run;

Proc Sql;
Select *,monotonic ()as c from test
having c in (100,150,180,190);
quit;

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What would you change about your job?

2439


What is the difference between %put and symbolgen? : sas-macro

1294


What are the features of base sas system?

1110


What is the general format of function in sas? : sas-grid-administration

1028


Difference between SAS STATA & SPSS?

1176


Briefly explain input and put function?

1137


I need level 2 to 5 sas using companies in india

2433


what are all the reports you generated in your recent project?

2253


What will calendar procedure do?

1114


Name few SAS functions?

1143


Explain what is data step?

1240


How to convert a numeric variable to a character variable?

1255


what are several options for creating reports in web report studio? : Sas-bi

1223


what is data access? : Sas-di

1178


how can you import .csv file in to sas? : Sas programming

1139