計算某時間段內ERP中的節假日中應排除的天數

create or replace function gobo_calendar_exception_dates(incode in varchar2,fdate in date,add_days in number) return number is rnum number; begin select 0 - (select count(1) from BOM_CALENDAR_EXCEPTIONS --BOM_CALENDAR_DATES --BOM_CALENDARS where calendar_code=incode and exception_set_id=-1 and exception_type=2 and exception_date>=fdate and exception_date=fdate and exception_date[@more@]
请使用浏览器的分享功能分享到微信等