Viewing 15 posts - 1,666 through 1,680 (of 59,082 total)
I'm curious... why do you think you need any form of looping for this?
SELECT CONCAT('MERGE ',ChannelReadingTableName,' USING ',MainLevelDataTableName)
FROM #DeviceChannelAnd, be aware... I used the table...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 4:26 pm
If you look at the number of reads, there's over 7 billion logical reads. That's more than 56 TERAbytes of I/O.
My first suggestion is to stop the query because it's...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 4:03 pm
For example, an SSRS reports reads from a table the isn't one of the 'core' tables. So I have to research where it is created, find it is created...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 3:47 pm
When it’s written “free ebook to download”, I’m expecting to be free of cost not freely able to download and pay for a ebook…
I was just going to write...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 3:37 pm
Keep in mind, your LOG file(s) may not shrink at first attempt !!!
Even there, they don't mention that you should do a CHECKPOINT first...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 6:18 am
Microsoft say in their index maintenance strategy that if your rebuilding for performance, stop and just do UPDATE STATISTICS instead and see if that solves you problem.
It does now...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 6:16 am
Thank you Jeff,
this did the trick.
I cannot understand why in a table with about 160,000 rows only one value (not field, but value) displayed this issue. It must have...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 6:11 am
Getting back to this post, if you know how to think and how to write good T-SQL (accurate, performant, well documented with comments, and well formatted for readability),...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 6:04 am
I've just started reading your article, Manie. I don't believe you'll find many experts that would crucify anyone for using a cursor for process control. RBAR process of rows? Yeah,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 2:36 am
To fix it I had to create the temporary table first with the clustered index then insert the data.
When I said "we", I should have said "they". What you...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 2:06 am
For Jeff, because I was having fun...
Heh... if you want to have some real fun, have someone successfully answer the question...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 31, 2023 at 12:58 am
Heh... wait for it...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2023 at 6:47 am
I did find a question that it answered mostly correctly...
On the "simple" question of how to combine a DATE and a TIME...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2023 at 6:37 am
Wow. Thanks Jason. I seriously had no clue. Like I said, my aim is to help, not collect accolades for a resume but that comment just made...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2023 at 6:02 am
The DBA's right about the concurrency issue.
Please be specific as to what kind of blocking occurs and how long it actually lasts.
Then, let's see some proof or...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2023 at 5:58 am
Viewing 15 posts - 1,666 through 1,680 (of 59,082 total)