Viewing 15 posts - 4,051 through 4,065 (of 59,087 total)
Before you go rebuilding the table to recover the space, at least find out why there's so much unused space in the table. Is it due to forwarded rows or...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 25, 2022 at 6:46 pm
Thanks for your response Jeff. Glad to see you are still going strong. I will have a play. Keep up the great work.
Kind Regards,
Phil.
It's been a while since I've...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 25, 2022 at 6:41 pm
... Using end of month dates is actually a WORST PRACTICE! ...
I agree with a lot of what you said Jeff, but I can't agree here. I've...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 25, 2022 at 6:39 pm
Again... if you post some sample data in a readily consumable format, we can help a whole lot more. See the first link in my signature line below for one...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 25, 2022 at 6:34 pm
I have gone through the two parts of Jeff's articles. But I still couldn't figure out the solution. here's my sample data:
businessday category itemno value
2022-01-01 xyz...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 25, 2022 at 1:47 pm
Thank you for your replies.
I added: CAST(FileSize AS decimal(35,2)) AS FileSize,
+
WHERE Domain = @Domain AND convert(bigint, Filesize) > 50000
That worked so many thanks.
One last question...
--I added
ROUND(SUM(CAST([FileSize]...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 25, 2022 at 1:23 pm
Hi All ,
I need to restore database 1.2 TB .. bak files are on network share drive .
the time i run restore .. it shows no progress . Status...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 24, 2022 at 11:16 pm
Steve, why is it that code reuse in T-SQL, in particular refactoring, results in performance penalties? I'm ignorant as to why this is so. Just trying to learn more,...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2022 at 5:44 pm
Jeff M,
I can't stop laughing at your response. You are correct that I am trying to leverage previous work done in the stored procedures instead of rewriting the logic...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2022 at 5:37 pm
And still no answer as the WHY this needs to be done.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2022 at 5:35 pm
Why don't you ask the folks at AWS? And, you're making money at this, yes?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2022 at 1:47 am
Thankyou, I really Appreciate the way you did it, It really helped a lot. Keep Sharing more such.
That actually looks and sounds like a precursor to SPAM, as has...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2022 at 1:37 am
If yes, based on what the size of the .ndf file was determined, since it's completely different compared to primary .mdf file.
A secondary file typically contains a subset of...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2022 at 1:35 am
The issue is that they think that they want to stop using the STUFF method (which is really the for XML PATH concatenation) for some reason but won't explain why...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2022 at 1:31 am
I have to ask... why are you duplicating more than a half million rows from a 206GB table into the SAME database??? If we knew that, we might be able...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2022 at 1:24 am
Viewing 15 posts - 4,051 through 4,065 (of 59,087 total)