需要帮助: 例如:,(ORACLE SQL)
IF (a > '0') THEN
need to do more things
END IF;
我尝试了所有可能性,放在THEN {}之后,但代码不会编译。
感谢您的帮助。
答案 0 :(得分:0)
您是否遗漏了BEGIN END block
(anonymous block plsql
)
Declare
--variable declaretion
begin
IF a > '0' THEN
BEGIN
--need to do more things
END;
END IF;
end;
{}
使用then
后,请勿使用begin end
。