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

How to avoid cursors?

Answer Posted / sunny

update salary set sal=(
case
when sal between 100 and 300 then sal + 1000
when sal between 300 and 500 then sal + 2000
when sal between 500 and 700 then sal + 3000
end)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain iaas, paas and saas?

92


Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?

1030


Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

1038


What is the difference between web edition and business edition?

113


List out the difference between union and union all in sql server?

1042


Explain error and transaction handling in sql server?

1063


What is data compression?

1066


What is report subscription?

132


What is the difference between ddl,dml and dcl commands?

1158


Explain about sql server login?

1137


What is the latest version of microsoft sql server?

1116


What is updatable resultset?

1074


What is resource db in sql server?

1058


Do you know the cursor optimization tips?

1039


What are the types of containers in ssis?

1234