我的 apex oracle 数据库应用程序需要 3 次验证,但似乎找不到解决方案。
5/6/2018
(dd // mm / yyyy
格式)之后在编辑页面中使用 CREATE VALIDATION 在表单中使用这些验证
使用代码创建新的 PL/SQL 函数类型验证(返回错误文本):
if :P1_ITEM1 is null then return
'P1_ITEM1 is null' end if;
if :P1_ITEM2 not between 1 and 1000 then return
'P1_ITEM2 not between' end if;
if to_date(:P1_ITEM3, 'DD/MM/YYYY') >= to_date('05/10/2000') then return
'P1_ITEM3 earlier than 05/06/2018' end if;
return null;
另外在错误消息类型中:
Unknown error.
问候
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句