oracle 的 if语句比较特殊,没有else if,而是使用elsif,使用方法如下:if ... thenbegin...end;elsif ... thenbegin...end;else begin...end;end if;