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

i am having comm in emp table and i want to display 0 when
comm =null and -10 if comm= value

Answer Posted / swati

update emp set comm =
case
when comm is null then 0
else
10
end

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if i write the procedure.. and other person make the changes in that code then where i find who is changing my procedure

2025


what is difference between inner join & nested query or subqueries

2982


What is the use of lockboxes? Steps for lock box : oracle accounts receivable

1328


What is the Difference between the Person_Type_id column in the per_all_people_f and per_person_type_usages_f

4400


What are the different tools available for hot backups in Oracle? Is it preferable to take it manually all the time or it depends on the size of the database?

1261


WHAT ALL DIFFERENT KIND OF FUNCTIONS AVAILABLE WHILE DESIGN UNIVERSES?

2066


can u pls share responsibilities for production how to environment in odi?and how to generate report ?

2321


Differentiate between unidentified receipt, unapplied receipts and on account receipts? : oracle accounts receivable

1735


how to replace not in with not exist?

3676


3. Steps in UAT?

2379


Explain accounting for invoice in advance and arrears. : oracle accounts receivable

1030


What is the use of transaction flexfield in autoinvoice? : oracle accounts receivable

1107


What are the interface tables used for ar invoices, customers, receipts for conversion process? : oracle accounts receivable

1233


Explain the difference between $ORACLE_HOME and $ORACLE_BASE.

7582


what are basic modules required to implement oracle application in any oraganisation?

2155