Viewing 15 posts - 2,911 through 2,925 (of 59,086 total)
p.s. The Sort_In_TempDB thing only takes care of the sorting aspect. You can leave that in if you want but consider the load it puts TempDB under for such a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2022 at 2:04 am
I have a fairly large table, billions of rows, that take up around 3TB of disk. I was tasked with creating a clustered index on this table. I performed...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 26, 2022 at 1:55 am
I thought "cloud" was a polite way of saying "smoke and mirrors" where your wallet gets smoked and they use mirror to deflect your billing questions. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2022 at 8:05 pm
I need to create a query where the first of March will be Week 1 starting from Monday to Sunday from the date. If the first of the month...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2022 at 6:54 pm
In the past, we've found a lot of problems with automated deployments that can be described by one, single, four letter word...
"Oops". 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2022 at 4:47 pm
I know... I'm weird... I couldn't stop laughing as I read the following article about AI and on-prem. I mean who knew that computationally intense processes on the cloud might...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2022 at 4:42 pm
The Seek is probably a Seek followed by a range scan of the full table, which probably has little if any advantage over the scan. I only use the Execution...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2022 at 2:26 am
Martin, your solution worked.
Thanks,
So I can learn a bit, which one of Martin's replies does that cover?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 25, 2022 at 2:02 am
On the formatting thing, you could try a free website such as PoorSQL.com with the understanding that there is no support if something goes awry. There are other sites that...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2022 at 7:28 pm
And, no... I wouldn't do a delete in batches. You end up blowing out the log file even with that and you end up with no temporary backup if something...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2022 at 7:15 pm
I just want to make sure we get this right. You're saying that you want to eliminate all book details for books that DO exist in the books table?
I just...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2022 at 7:14 pm
How to get records for the first 15 days of the month. please suggest
WHERE OrderDate<=DATEADD(day, 15, GetDate())
Phil's code works perfectly if you can guarantee that the OrderDate column does...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2022 at 6:20 pm
For now my goal is to fix my SSIS projects which are not giving the desired result.
I have no quantitative numbers on what I'm about to say but... I've...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2022 at 5:29 pm
To get the Orders where the OrderDate is in the first 15 days of a month:
WHERE DAY(OrderDate) <=15
To get the Orders where the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2022 at 5:17 pm
Also, check with the other Developers in the company. You should be checking your code into some form of source control. They should also have a "onboarding" process that lets...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2022 at 5:01 pm
Viewing 15 posts - 2,911 through 2,925 (of 59,086 total)