Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase «««1234

Fun with business days, calendar tables, and test-driven development Expand / Collapse
Posted Sunday, March 11, 2012 12:27 PM



Group: General Forum Members
Last Login: Today @ 5:31 AM
Points: 37,088, Visits: 33,956
CELKO (9/23/2010)
I still prefer Julianizing the business days to make the math easier

I know it's an old post but absolutely spot on here, Joe. It makes life much easier and the code much faster especially when proper indexing is in place.

--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1264900
« Prev Topic | Next Topic »

Add to briefcase «««1234

Permissions Expand / Collapse