there are 2 variables called x and y ,x contains 1,2 and y
contains 3,4 we have to swap the values from x to y and y
to x with out using dummy variables and it can be done only
by using a single statement ? how?
Answer
Is This Answer Correct ? | 3 Yes | 0 No |
While inserting 10 rows using procedure, if 3rd entry is
having some error, what will be the output? How u will
handle that error?
Answer
Is This Answer Correct ? | 12 Yes | 0 No |
Question { 8569 }
write a query to delete similar records in different tables
with same structure
Answer
Is This Answer Correct ? | 3 Yes | 3 No |
When we give SELECT * FROM EMP; How does oracle respond?
Answer
Is This Answer Correct ? | 9 Yes | 2 No |
Dear All,
Question for this Week
Find out possible error(s) (either at compile
time or at runtime) in the following PL/SQL block. State
the reason(s) and correct the errors.
Declare
Cursor C1 is select ename, sal, comm from emp;
Begin
For i in C1 Loop
If i.comm between 299 and 999 then
Dbms_output.put_line(i.Ename || ‘
** Good Commission’);
Elsif i.comm > 999 then
Dbms_output.put_line(i.Empno || ‘
** Very Good Commission’);
close C1;
Else
Dbms_output.put_line(i.Ename || ‘
** ’ ||nvl(i.comm,‘O’));
End if;
End Loop;
End;
Answer
Is This Answer Correct ? | 0 Yes | 0 No |