Viewing 15 posts - 4,261 through 4,275 (of 59,087 total)
Thanks for your hint! I used a calendar table and DENSE_RANK() as shown in the article to solve my problem. I appreciate your help very much.
To help others that...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 10, 2021 at 5:14 pm
Total SWAG on my part but NOT using parentheses for the "N" number is only allowed for SELECTs and they did that only for backward compatibility. The correct syntax is...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 10, 2021 at 3:10 pm
Thanks for sharing, I am very impressed with your post.
Smell that? {sniff}... smells like a prelude to SPAM.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 10, 2021 at 2:45 pm
If you missed that about CONCAT_WS, you may have missed another fantastic enhancement they came out with 2017. The TRIM function. Most people give it the "yawn" because they think...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2021 at 9:17 pm
Thanks for your feedback on what you've done. Can you provide expanded test data to demonstrate what you've done?
And, you've not avoided any joins like you said you wanted to...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2021 at 8:31 pm
Hello SSC,
I hope everyone is staying safe and healthy.
I am using SQL 2017 and I have over 17 million rows that I have to UPDATE. Obviously I have to...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2021 at 8:26 pm
I wound up in a highly similar position implementing 'immediate fixes' and never able to get to long-term solutions to stop all the 'immediate fixes.' It forced me into...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2021 at 8:15 pm
I wound up in a highly similar position implementing 'immediate fixes' and never able to get to long-term solutions to stop all the 'immediate fixes.' It forced me into...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2021 at 8:06 pm
IMHO, "Most Reads" doesn't tell you anything other than a title possibly having a great amount of SEO. People could be opening an article and getting one sentence in and...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2021 at 4:45 pm
Jeff Moden wrote:The first to the check for is <insert drum roll here> are you using any monitoring software?
Yes i use monitoring and nxlog is part of the setup
So...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2021 at 4:38 pm
This is so wrong. Your company is trying to have you fix the wrong problem. The real problem is the source of the data...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2021 at 10:18 pm
This is so wrong. Your company is trying to have you fix the wrong problem. The real problem is the source of the data and THAT's...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2021 at 8:47 pm
Using the test data provided by the OP...
WITH cteWeekAgg AS
(
SELECT StaffID
,WeekStart = DATEADD(dd,DATEDIFF(dd,0,StartDatePeriod)/7*7,0)...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2021 at 8:27 pm
The first to the check for is <insert drum roll here> are you using any monitoring software?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2021 at 7:42 pm
Hi, guys!
May be I'm missing something - but is there some more in detail search or filter mechanism for forum topics besides the general SCC search feature?
Kind regards! Sebastian
Yes......
--Jeff Moden
Change is inevitable... Change for the better is not.
December 7, 2021 at 7:26 pm
Viewing 15 posts - 4,261 through 4,275 (of 59,087 total)