i am having comm in emp table and i want to display 0 when
comm =null and -10 if comm= value
Answers were Sorted based on User's Feedback
Answer / shaik
select e.*,decode(comm,null,0,-10) new_comm
from emp e
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / siva
select nvl2(comm,-10,0) "New Comm" from employees;
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / prajakta
select case when comm is null then 0 else -10 end from emp
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / s.rajeshkumar
select nvl2(comm,0,-10) "New Comm" from employees;
| Is This Answer Correct ? | 7 Yes | 6 No |
Answer / swati
update emp set comm =
case
when comm is null then 0
else
10
end
| Is This Answer Correct ? | 1 Yes | 4 No |
Could you please let me know the interfaces in OM / FA??
Explain how to account for bank charges deducted from amount received against an invoice. : oracle accounts receivable
What is the difference between the SQL*Loader and IMPORT utilities?
types of receipts and detail desription about recipts and tables effected by receipts?
as a technical developer in oracle applications which type errors feced in your experience sofar
How do you add a data file to a tablespace?
what are all the conversion and interfaces in GL,AP,AR,HRMS with example? otherwise send send link for these
0 Answers Pathway Technologies,
HOW TO SPOT AHIERARCHY?
what are important reports in HRMS,GL,AP,AR in oracle apps?
3 Answers IBM, Pathway Technologies, Satyam, Techtimer, Wipro,
Should you take the backup of Logfiles if the database is running in ARCHIVELOG mode?
default triggers available for reports
key flexfield structure