Viewing 15 posts - 6,046 through 6,060 (of 59,089 total)
Somebody didn't read the article I directed them to. No problem. I'll just post the code in the same manner that the example data was posted to ensure they're equally...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 26, 2020 at 1:43 am
You guys must be suffering from Covid or something. You guys know better than to banter about with claims of performance without demonstrative code to prove your position. Especially since...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2020 at 10:46 pm
Yes , backups are compressed. Before deleting data it was taking around 5 hours ( this is for the all the DBs in the instance), now it is...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2020 at 10:39 pm
I have table with :

if today is 25/11/2020, then i need to retrive ID 5 because nearst date to today WeekDate is: 1/12/2020
then when today date...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2020 at 8:42 pm
It's not often that I say this out loud but now seems like a good time. Thank you Steve Jones for being one of the people that started this site...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2020 at 6:18 pm
Doubtful the cause of your pain, but.... the SQl Server Max Memory is set at the Default, out of the box value. This is usually bad - SQL will...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2020 at 10:52 pm
Voting forces a choice. Do I want A, B, or C. consensus allows me to say A, but not B, C is OK. We can come to a choice...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2020 at 5:02 pm
I would like to know the difference of usage and syntax of if statement between T-SQL vs PL-SQL.
I noticed the T-SQL often uses Begin end after If statement, but...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2020 at 4:43 am
Use LIKE with leading and trailing wildcards with the understanding that it will always cause a table or index scan (i.e. Non-SARGable query criteria). If you want a coded answer,...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2020 at 4:41 am
We reject: kings, presidents and voting. We believe in: rough consensus and running code.
How is "voting" different from "consensus"?
Heh... its easy. Voting is structured... concensus is a lynch mob....
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2020 at 4:38 am
From the article:
One of the main things that many scientists and governments have desired to help control the spread of disease is contact tracing.
I wish they had the same thing...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2020 at 4:37 am
Now we know why I've never bothered with certifications. It's like trying to take a bite out of a rolling donut. And the one cert that I trusted (MCM), they...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2020 at 4:26 am
Why Microsoft released a less performant FORMAT function to make SQL server look bad? I am sure Microsoft released it from requests by SQL server community.
If it's so...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2020 at 4:24 am
Perhaps paging using OFFSET/FETCH in the ORDER BY clause will work better than using ROW_NUMBER().
--Jeff Moden
Change is inevitable... Change for the better is not.
November 23, 2020 at 5:40 pm
Joe's response brings up an excellent point... why not simply buy a proven product that does all of what you've asked plus so much more? For example (although I've...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 23, 2020 at 4:49 pm
Viewing 15 posts - 6,046 through 6,060 (of 59,089 total)