Viewing 15 posts - 31 through 45 (of 9,695 total)
So I'm a big fan of SARGability, which means I would take Scott's version and do it with a CTE.
WITH JobTypes AS (SELECT JobID, MAX(CASE WHEN TaskName...
November 25, 2024 at 9:28 pm
Now watching Black Arts # 3 and I just have to ask..
Jeff, where do we get your f'n Tally Function. @=) (j/k).
But on a serious note, do you have that...
November 25, 2024 at 9:19 pm
Wow. Just ... WOW. Watched the 1.2. Now going to watch 3.
Thanks, Jeff.
November 25, 2024 at 8:07 pm
So I am doing some major learning today. And here I thought I could take it easy on the week of Turkeys! @=)
Thank you both. I have already forwarded the...
November 25, 2024 at 3:51 pm
Oh, and can I get a favor? Can everyone to update their posts with the proper spelling of my name? Brandie.
November 25, 2024 at 3:03 pm
Jeff, thank you for that information. I will research.
So we are using the Hallogren solution for index maintenace and yes, it involves reorgs. I removed reorgs from the servers I'm...
November 25, 2024 at 3:02 pm
Jo, I have already read through both links you have provided in this chat. I am looking for white papers beyond this information.
EDIT: The application team member was very specific...
November 22, 2024 at 4:13 pm
Stop rebuilding indexes.
Microsoft's documentation states:
Index maintenance decisions should be made after considering multiple factors in the specific context of each workload, including the resource cost of maintenance. They should...
November 22, 2024 at 4:07 pm
Thank you, everyone, for your input.
Now would a high-volume OLTP (lots of daily inserts or deletes or both) make a difference in your opinion?
November 22, 2024 at 3:57 pm
Wondering if anyone has time to point me to resources regarding this particular question: Microsoft Recommendations for Update Stats? – SQLServerCentral Forums?
November 21, 2024 at 3:34 pm
I'm sorry. The post that was previously here was harsh. I am removing it because there was no call for me to sound so short.
Converting to uniqueidentifier did not work...
November 19, 2024 at 5:07 pm
Kaj, that does work faster than the function I found via Google. THANK YOU SO MUCH!
November 19, 2024 at 4:44 pm
There isn't really a need to use that scalar function for the conversion.
This will also work:
SELECT t.SPID, t.Status, t.ProgramName, j.name AS JobName
FROM @Table t
LEFT OUTER JOIN...
November 19, 2024 at 4:40 pm
You could just do a straight select also, no need to convert the hex to the GUID as it will implicitly do this for you
SELECT *...
November 19, 2024 at 4:25 pm
Weird gateway error caused repost. And won't let me delete the code block.
November 19, 2024 at 3:18 pm
Viewing 15 posts - 31 through 45 (of 9,695 total)