Viewing 15 posts - 16 through 30 (of 443 total)
Ah, but that won't work if the current quarter is Quarter 1 (due to the year comparison)
Looking into alternatives...
May 23, 2019 at 8:38 am
Something like this?
CASE WHEN
DATEPART(QUARTER,c.DateKey) = DATEPART(QUARTER,@TodaysDate)
AND
...
May 23, 2019 at 7:48 am
Firstly I'd suggest reading this: https://www.brentozar.com/archive/2019/05/the-silent-bug-i-find-in-most-triggers/ , as you seem to have fallen into the trap that Brent describes.
May 21, 2019 at 2:51 pm
See here for an explanation of the differences between '==' and 'is' in python.
There is nothing similar in SQL
January 3, 2019 at 4:52 am
October 15, 2018 at 7:53 am
September 6, 2018 at 8:57 am
bolla.shravani - Wednesday, September 5, 2018 12:55 AMselect format(convert(date,'2012-01-01'),'dd MMMM yyyy') as fulldate
Hi,
Did you notice this was a 6 year old thread?
September 6, 2018 at 2:31 am
July 30, 2018 at 4:20 am
HI,
FYI, in case you hadn't noticed, you are replying to a 7 year old post 🙂
July 27, 2018 at 2:26 am
NB. This is an 8 year old post 🙂
July 5, 2018 at 4:06 am
May 4, 2018 at 8:09 am
I do not have an...
May 4, 2018 at 7:07 am
To see what you've actually got in the editor, turn on visible whitespace chars with 'Edit => Advanced => View Whitespace '
May 1, 2018 at 1:53 am
Viewing 15 posts - 16 through 30 (of 443 total)