每个if对应一个end if. If productname = 'XXX' then
If productID > 0 then
DBMS_OUTPUT.PUT_LINE('A');
end if;
If productID = 0 and productNUM is not null then
DBMS_OUTPUT.PUT_LINE('B');
end if;
else
DBMS_OUTPUT.PUT_LINE('C');
end if;
If productID > 0 then
DBMS_OUTPUT.PUT_LINE('A');
end if;
If productID = 0 and productNUM is not null then
DBMS_OUTPUT.PUT_LINE('B');
end if;
else
DBMS_OUTPUT.PUT_LINE('C');
end if;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货