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 |
the user should know to which database he is connected currently in oracle
How client makes connection with server in client/server architecture?
What are the standard concurent programs for auto invoice interface and customer interfaces? : oracle accounts receivable
8. Supporting AP, AR and GL?
HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..
What is Restricted Mode of Instance Startup in Oracle?
How I can load an image into image item on Forms. I want to know about built-ins and procedure. and also code for it.
WHAT ALL DIFFERENT KIND OF FUNCTIONS AVAILABLE WHILE DESIGN UNIVERSES?
What is difference b/w Credit memo and Adjustment in AR.
1)After defining value set we define list of values, I need to enter 1000 values with out entering manually, how will you do that? 2)what are the parameters we use in a concurrent program? 3)what is payroll processing? 4)In organization window after defining an organization and organization classification how to create a new item in the others button? 5)If there are 10 users, How to restrict the selected users not to access the forms?
Give two examples of referential integrity constraints.
Hey i want to join oracle apps so will you pls tell me that which institute is best in hyderabad.