Oracle之:Function :strFormatDate()

mac2022-06-30  124

create or replace function strFormatDate(i_datestr in varchar2) return date is begin if i_datestr is null or trim(i_datestr) = '' then return null; end if; return to_date(i_datestr,'yyyy-MM-dd'); end strFormatDate;

转载于:https://www.cnblogs.com/bilaisheng/p/10210984.html

最新回复(0)