ITPub博客

首页 > 数字化转型 > ERP > 計算某時間段內ERP中的節假日中應排除的天數

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

原创 ERP 作者:longwansheng 时间:2011-06-16 08:53:57 0 删除 编辑
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@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/92289/viewspace-1051226/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-12-12

  • 博文量
    162
  • 访问量
    774131