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

Answer Posted / prajakta

select case when comm is null then 0 else -10 end from emp

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

880


Explain the payment term in ar. : oracle accounts receivable

840


I've got a database 10g and Form version 5.0 but unable to connect. Does Oracle 10g database supports form 4.5

2273


What view would you use to determine free space in a tablespace?

1999


How to clone the database using RMAN back

1811


What Are Cross Validation & Adi?

884


What is Restricted Mode of Instance Startup in Oracle?

885


which one is currently in used software cmpanies.

1860


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

800


Explain prerequisites and post activities of oracle database installation

1873


What is auto invoicing? : oracle accounts receivable

839


WHAT ARE TEMPLATES?EXPLAIN WHAT YOU HAVE CREATED?

1764


difference of using cursor for loop and open,fetch,close.which one is better

1457


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

1506


we have 10 concurrent programs under one request group out of 10 ccps all users submitting only 9 programs from srs window remaining one ccp for specific user how can it possible send me answer asap.

2096