PL / SQL函数主体在Oracle Apex中返回错误文本

时间:2019-05-15 05:31:00

标签: oracle oracle-apex

我有两个提交的价格和成本 如果Price

1 个答案:

答案 0 :(得分:1)

这将是对“返回错误文本的PL / SQL函数”类型的验证。

if :P1_PRICE < :P1_COST then
   return 'Item price should be greater than cost';
end if;
return null;
相关问题