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

select e.*,decode(comm,null,0,-10) new_comm
from emp e

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you determine who has added a row to a table?

2249


Explain prerequisites and post activities of oracle database installation

2070


How do you create a credit note against an invoice? : oracle accounts receivable

1023


Explain the difference between $ORACLE_HOME and $ORACLE_BASE.

7566


which one is currently in used software cmpanies.

2103


What is the importance of batch source set up in ar? : oracle accounts receivable

1196


How would you determine what sessions are connected and what resources they are waiting for?

2070


Hi, IN oracle apps HRMS, if the employee changes his department, and when a conconurrent program is run for calulating the pay, The latest Dept id is not diaplayed, howeber the previous deptid is considered. Please can someone tell me where is the program going wrong, which side?

2803


Differentiate between writeoff and receipt writeoff. : oracle accounts receivable

1258


What is the difference between oracle media recovery and crash recovery?

1119


hi iam kavya, i completed Oracle11i(finance module), i do not know how to face the interview questions please adivese me

2177


Can we modify approve purchase order?if yes what is navigation?

1948


What is the use of lockboxes? : oracle accounts receivable

1156


as a technical developer in oracle applications which type errors feced in your experience sofar

2273


How would you go about increasing the buffer cache hit ratio?

2539