Viewing 15 posts - 6,061 through 6,075 (of 59,101 total)
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
are you producing striped backup files ? ( Backup database - working with a striped media set ) That may also help to reduce the time needed. (...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 23, 2020 at 3:07 pm
But I still can't fathom why you want to send out notices just as their policies expire. What is the business case for that? What is the insured supposed...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 23, 2020 at 2:39 pm
Thanks, I'm going to try removing the nonclustered indices. But my problem, I think it is that it is not possible to shrink the mdf file below its initial...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 23, 2020 at 2:30 pm
Viewing 15 posts - 6,061 through 6,075 (of 59,101 total)