Viewing 15 posts - 1 through 15 (of 293 total)
Oops, I appear to have removed Sergiy's comment about Easter 2021 as being a holiday! I meant to hit Quote not Report!
In response, Easter 2012 might be a holiday where...
September 11, 2020 at 12:55 pm
This is the main table definition, I warned you it was insane. 😉
CREATE TABLE dbo.tblCalendar (PKDate DATE NOT NULL
...
September 10, 2020 at 10:27 pm
It's a good question. I don't get to decide, the business do. The rules are arbitrary so I have to use a fixed table, in fact several. This (table calendar445)...
September 10, 2020 at 8:38 pm
@jeff - for some reason the post you quoted in your previous post isn't showing the quote. Your reply to me is though! When I view in Gmail...
September 10, 2020 at 7:42 pm
@jeff - I didn't think I was using an incremental rCTE?
@Jeffrey - I did try and and d/l a couple of scripts, but I couldn't get them to...
September 10, 2020 at 4:26 pm
I was pointed to this thread by the OP, Simon, a colleague of mine. It's that time of year where we start to look at tables used in various databases...
September 10, 2020 at 3:32 pm
Interesting. Does it correctly handle names like MacDonald, McDonald, van Halen, O'Leary, and things like "This is a Book"?
This is a limited attempt at this requirement. It does not...
May 15, 2020 at 9:42 am
Ha! Version 4.21a was my first taste. Crikey, I feel ancient. ANSI-89 style may have been a standard back in the day, but has long been supplemented. In fact it...
July 13, 2019 at 2:14 pm
Hello
Returning to this, I and another co-worker have collapsed the 3 CTEs above into one statement. Here's an example
DECLARE @Date DATE = '2019-04-01 00:00:00';
SELECT @Date, DATEADD(
...
June 5, 2019 at 9:58 am
October 23, 2018 at 6:54 am
I appreciate that this is an old article, but it is handy this was posted on the headlines today as I was asked the following question...
September 7, 2018 at 7:32 am
August 10, 2018 at 1:16 pm
August 10, 2018 at 1:10 pm
August 4, 2018 at 10:09 am
Viewing 15 posts - 1 through 15 (of 293 total)