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...


Under what circumstances would you code a SELECT construct
instead of IF statements?

Answers were Sorted based on User's Feedback



Under what circumstances would you code a SELECT construct instead of IF statements?..

Answer / alan

--when you have a long series of mutually exclusive
conditions and comparison is numeric
--CPU time is reduced when using SELECT statements

Is This Answer Correct ?    12 Yes 0 No

Under what circumstances would you code a SELECT construct instead of IF statements?..

Answer / sumalatha.ch

select statement is reduced cpu time.and make the programme
easier to read and debug

Is This Answer Correct ?    2 Yes 0 No

Under what circumstances would you code a SELECT construct instead of IF statements?..

Answer / 3nadh

Select Statement executes one of several statements or
group of statements.

If Statement :- Continues processing only those obs that
meet the condition.

Is This Answer Correct ?    0 Yes 3 No

Under what circumstances would you code a SELECT construct instead of IF statements?..

Answer / jothi sankar

--> When renaming of varibales during getting data itself,

--> new varible creation by combining already existing
varibales(eg: Name = FName + LName) to reduce memory usage

--> When nested conditions are less and getting more %
records from base

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More SAS Interview Questions

i have a dataset with 100000 records. i want 100 records from that dataset and create a dataset.we need to pick the observations random order like 100obs,500obs,1020obs,1890obs,2565obs like that i need 100 obs in random order? how can we create this one?

5 Answers   L&T,


Which is the best training Institute for SAS Business Intelligence course?

6 Answers  


what is business intelligence? : Sas-bi

0 Answers  


What is the difference between match merge and one to one merge?

0 Answers  


What is the purpose of _character_ and _numeric_?

0 Answers  


Explain how merging helps to combine data sets.

0 Answers  


In which format does Date stores in sas..? What is the use of DATE in SAS.?

3 Answers   TCS,


what techniques and/or procs do you use for tables? : Sas programming

0 Answers  


What is the Program Data Vector (PDV) and What are its functions?

9 Answers  


What is the use of PROC gplot?

0 Answers  


What are the special input delimiters used in SAS?

0 Answers  


how to shift the rows to cols? eg: i have like field1 field2 field3 10 20 20 this should be displayed as field1 10 field2 20 field3 30 (without the obs col) how do this?can i use transpose or tell me suitable way to do this?

3 Answers   CMC,


Categories