Viewing 15 posts - 3,316 through 3,330 (of 59,067 total)
Ok... so no test data provided in a readily consumable format. The following code will help you do what you're trying to do. It shouldn't take much a a leap...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 17, 2022 at 1:39 am
Thank you so much. I am not cancelling it. Luckily the status showing 3%. I am saved. 🙂
But what could be the reason for that much slow ness?
2 weeks...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 16, 2022 at 9:34 pm
There is currently (though I'm working on it), no code that will make the "best" assignment because things like logical fragmentation are averages at a given time and provide no...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 16, 2022 at 7:57 pm
Yes it was me and I still feel that it is part of being an exceptional DBA.
Me too. Always have.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 16, 2022 at 2:15 pm
This was a life saver. Thank you very much!
Remember TempDB when you do this. If it has a different collation, you might be in for a heap of trouble...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 16, 2022 at 2:04 pm
Thanks for the info... I'm still waiting on data...
Ok... I think I'm ready for ya! 😀 Post some readily consumable data in the form of a CREATE TABLE statement...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 16, 2022 at 1:53 pm
Wasn't it you, David, that said (admittedly paraphrasing a bit) "If you're the first person people seek out for help on a problem rather than the last, you might be...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 16, 2022 at 6:08 am
To be sure, I could never do the job that you do. Thanks for what you do.
As far as the article you posted a link to, it's pretty good advice...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 15, 2022 at 4:40 pm
As a bit of a sidebar, you listed your week numbers as follows...
W51-2021
W52-2021
W3-2022
That's actually a really bad thing for you folks to be doing because they're NOT sortable.
The week numbers...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 15, 2022 at 3:26 am
Ok... I think I'm ready for ya! 😀 Post some readily consumable data in the form of a CREATE TABLE statement and some data that's coded to be inserted into...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 14, 2022 at 9:07 pm
I'm still thrown off by week 53. What? How does this work? This topic is the same as this other one I'm assuming
The week 53 problem is because...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 14, 2022 at 5:56 pm
Ok... I've got the week number part down to a nice, high speed single formula. I need to add the year in but it' 03:17 here and I have to...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 14, 2022 at 7:17 am
Quite contrary to popular belief, index REBUILDs are NOT a problem compared to REORGANIZEs.
Here's just one example. I had a table that had an ever increasing Clustered Key that contained...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 14, 2022 at 5:17 am
For those interested, here's the profiler run I fan just a bit ago. It doesn't contain all the tests but it doesn't really matter because the extra tests just prove...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 14, 2022 at 12:12 am
Format could be derived like this:
CONVERT(CHAR(10),jobstarted,103) + ' ' + CONVERT(CHAR(8),jobstarted,108)You indicate output as "Rome Time". What timezone/offset is your source data in?
I would...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2022 at 11:38 pm
Viewing 15 posts - 3,316 through 3,330 (of 59,067 total)