create or replace function is_date(p_date in date)
return number
as
a date;
begin
a:=p_date;
return 1;
exception
when others then
return 0;
end;
/SQL> select is_date(sysdate) from dual;IS_DATE(SYSDATE)
----------------
1
return number
as
a date;
begin
a:=p_date;
return 1;
exception
when others then
return 0;
end;
/SQL> select is_date(sysdate) from dual;IS_DATE(SYSDATE)
----------------
1
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货