SQL Business Day comparison of two dates -
i have researched calendar tables thought me accomplish need can't seem find anything. need business day comparison month on month. today 4/29/2015. call business day 20. date in prior month compares business day 20 march. thoughts on approach? thank everyone.
a date or calendar table looking here. i'm not sure couldn't 'seem find anything', though. date tables can custom suited whatever business needs are. need few fields, use many fields.
you'll need account holidays, also. memorial day count business day? open on mlk jr day? holidays vary country country, company company, name it. of powers involved out in identifying constitutes 'workday'.
here's few articles on road, unfortunately, none of able built you need dicuss stakeholders in business.
http://www.sqlserver.info/database-design/how-to-create-a-date-table/
Comments
Post a Comment