oracle查询日期减法,不包括周末 [英] oracle query for date subtraction excluding weekend

查看:86
本文介绍了oracle查询日期减法,不包括周末的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我oracle中的查询将减去其他日期的一个日期,不包括周末。



egif实际结束日期是10月10日13日和基线结束日期是10月4日。因此,正常计算差异为6天。但是,当我们考虑Network days时,我们需要减去weedends。这里有一个星期结束所以6-2即4天是最终答案...........



请指导我

Please tell me the query in oracle which will minus one date from other date excluding weekends.

e.g.if Actual end date is 10 th Oct 13 and Baseline end date is 4th Oct 13. So as per normal calculation difference is 6 days. However, when we consider Network days then we need to minus the weedends. Here there is one week end so 6-2 i.e. 4 days is Final answer...........

please guide me

推荐答案

查看此链接



计算SQL中2个日期之间的差异,不包括周末日期 [ ^ ]


这篇关于oracle查询日期减法,不包括周末的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆