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

what is null hypothesis? why do you consider that?

0 Answers   Accenture, Quintiles,


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

0 Answers  


What would be the value of month at the end of data step execution and how many observations would be there?

0 Answers  


What is Transaction...? And what are Comment, Roll back n Save point..?

2 Answers  


what are system option ? give few examples ? what are dataset options and dataset statements ? if there is a keep option and keep statement ? which one is executed first ? Difference between a WHERE statement and IF statement ? what is the advantage of using WHERE statement option on the dataset ?

1 Answers   Satyam,


in data set200 observation how to take 110,150,170 using sql procedure?

7 Answers   Accenture,


Describe 5 ways to do a “table lookup” in SAS?

0 Answers  


How do you download a flat file from Mainframe to your local PC using SAS?

3 Answers  


What is a macro routine?

0 Answers  


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

0 Answers  


what is the use of LRECL option.

1 Answers   L&T,


what are the types of interactive display types? : Sas-bi

0 Answers  


Categories