Viewing 15 posts - 4,996 through 5,010 (of 59,072 total)
Fragmentation associated with Random GUIDs is a complete MYTH based on improper testing, misinformation, and the use of supposed "Best Practices" for index maintenance that are actually "Worst Practices" and...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2021 at 7:13 pm
DELETE FROM dbo.Table WHERE ID IN (12); ... With the temporal table, deadlocks are guaranteed every time. Only one of the deletions will succeed; the rest will...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2021 at 5:46 pm
Is the table clustered on ID?
Have you got any other indexes on the table?
Have you looked at the execution plan?
Oh lordy... I posted before having enough coffee. This is...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2021 at 5:06 pm
Instead of having multiple connections trying to delete one or two rows at a time from all over hell's little half acre in the table, remember that it's a TEMPORAL...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2021 at 4:32 pm
Shifting gears to another aspect to employment, I'd say "and so it begins" except that it's been this way for a long time. It's just getting worse. If you have...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2021 at 4:17 am
Heh... ah... I know what you mean now. No comment. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2021 at 3:40 am
I "love" some of the ads I've seen... they start with needing only 2 years of experience but want a full stack developer that is also an expert...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2021 at 3:37 am
My pleasure and thank you for the feedback. xp_LoginInfo is one of those tools that I don't need to use often but it's a real life saver when I do...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 1, 2021 at 3:34 am
He is not a member of sysadmin role.
He is in one group, but it has read only and that is it.
It must be something that carried over from the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 9:46 pm
What are you trying to do??? Get just the rows with the highest TotalDue for each BusinessEntityId ??? I so, just change the ASC in your ROW_NUMBER() to DESC and...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 9:42 pm
Hello ,
I have an SQL server installed in the 'Enterprise Evaluation Edition' the server has expired I have exceeded the 180evaluation day
and despite this overrun my instance continues to...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 9:32 pm
You might want to take a look at the execution plan for that. With just the 9 rows of data the OP posted, it does 48 table scans...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 9:28 pm
Disregard my previous from this post if you end up seeing it in your email. I did some bad math. The 432 rows are completely necessary.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 9:27 pm
Here is an alternate version
With accountData
As (
Select Distinct
td.[Year]
...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 8:56 pm
Heh... ok. Been there and done that... That's how it always starts. 😀
The other thing is that someone that gets desperate for some code on something much larger, might end...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 30, 2021 at 8:46 pm
Viewing 15 posts - 4,996 through 5,010 (of 59,072 total)