Viewing 15 posts - 46 through 60 (of 55,829 total)
Thanks for the code modifications, Steve. I'll take a deeper dive than just looking at it. Nice to see someone actually test both out a bit.
In the past, I've shyed...
June 18, 2022 at 6:07 pm
LearnSQL wrote:Any suggestions or thoughts.
The function seems to generate the correct calendar. Nicely done Jeff 🙂
select * from dbo.CalendarByDateFirst('20211201', '20220131', 7);
Thanks a lot Jeff for...
June 17, 2022 at 7:55 pm
As a bit of a sidebar, man!... The supposed SQL Format for the code windows is absolutely horrible! 🙁 I wish they'd do something about it.
June 17, 2022 at 7:49 pm
Here's Rev 02 with a shedload more documentation in the flower box and 3 extra columns that seem useful to me. I think I may turn this into an article...
June 17, 2022 at 7:46 pm
Thanks Jeff,,
I have been using the formula:
if ($Average_Fragmentation -gt 40.00) { Write-Host -ForegroundColor Red "$Index_Name is more than 40% fragmented and will be rebuilt."; $index.Rebuild(); Write-Host -ForegroundColor Green...
June 17, 2022 at 1:53 am
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...
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...
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...
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.
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...
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...
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...
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...
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...
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...
June 14, 2022 at 9:07 pm
Viewing 15 posts - 46 through 60 (of 55,829 total)