计算一个月中的工作日数 [英] Calculate the number of workdays in a month
本文介绍了计算一个月中的工作日数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一个简单的T-SQL查询会返回本月的工作日,工作日数?
Is there a simple T-SQL Query that will return the number of work days, week days, this month?
我们必须按月执行平均... 。这将是我们的月/日工作日总数
We have to do an Average Per Month...so it would be our SUM/ Total # of work days in the month
感谢您的评论,并希望得到答复。
Thanks for your review and am hopeful for a reply.
推荐答案
您应该使用日历表来简化它。
You should use a calendar table to make it simple.
这篇关于计算一个月中的工作日数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文