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.experts-exchange.com/articles/12267/build-your-own-sql-calendar-table-to-perform-complex-date-expressions.html

http://www.sqlserver.info/database-design/how-to-create-a-date-table/


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -