Viewing 15 posts - 12,946 through 12,960 (of 59,099 total)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2018 at 9:40 pm
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2018 at 8:41 pm
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2018 at 8:39 pm
--Jeff Moden
Change is inevitable... Change for the better is not.
February 12, 2018 at 5:54 pm
--Jeff Moden
Change is inevitable... Change for the better is not.
February 12, 2018 at 2:40 pm
--Jeff Moden
Change is inevitable... Change for the better is not.
February 12, 2018 at 8:17 am
--Jeff Moden
Change is inevitable... Change for the better is not.
February 12, 2018 at 6:55 am
--Jeff Moden
Change is inevitable... Change for the better is not.
February 11, 2018 at 9:25 pm
There's no need for the second GROUP BY and you can simplify the average calculation. Also, consider adopting and capitalization and indention standard for readability. You should also start using...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 11, 2018 at 8:56 pm
What you're looking for is called a "Crosstab". The following is your code modified to do a "Crosstab".
SELECT Year = DATEPART(yy,SignalDATE)
,Weeks = DATEPART(wk,Signaldate)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 11, 2018 at 12:23 pm
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2018 at 3:35 pm
I strongly disagree... Darko's code is a problem... several problems, actually. But we're...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2018 at 9:24 am
{Edit} Took a post on Easter dates down because I found differences between a couple and I don't actually know which one is correct.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2018 at 8:37 am
I strongly disagree... Darko's code is a problem... several problems, actually. But we're wasting time on that disagreement because neither of us will change our opinion there.
As for...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2018 at 8:24 am
--Jeff Moden
Change is inevitable... Change for the better is not.
February 9, 2018 at 6:56 am
Viewing 15 posts - 12,946 through 12,960 (of 59,099 total)