I have a procedure of the following format
The first delete line get executed, but the second and third line did't? Anything special?
Code:
PROCEDURE proc_UnWantedRIC IS
BEGIN
DELETE FROM MyTable where field1='SomeCondition';
UPDATE MyTable set field2='Whatever2' WHEN field2='Somethingelse2';
UPDATE MyTable set field3='Whatever3' WHEN field3='Somethingelse3';
END;
The first delete line get executed, but the second and third line did't? Anything special?