Viewing 15 posts - 5,356 through 5,370 (of 59,089 total)
As a bit of a sidebar, the table I tested it against has, like I said, 147 columns. It's kind of a small table weighing in at only 8.4GB and...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2021 at 2:08 am
I asked because many people are happy with code as long as it ultimately does what they need it to do, i.e. "the code's good enough for me." ...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2021 at 1:45 am
Btw, why are you using such an inefficient method, checking the column values one by one?
What are you asking why instead of posting a...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2021 at 1:27 am
Btw, why are you using such an inefficient method, checking the column values one by one?
What are you asking why instead of posting a link to something better?...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2021 at 9:30 pm
And let's hope it's not an update to SSMS that's causing the problem. Which edition and version of SQL Server do you have and to which version of SSMS did...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2021 at 9:13 pm
Hi,
I get the object id, it stopped working when I updated the management studio, i think it is not the code, but rather a new thing i need...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2021 at 9:11 pm
it is a table and it does have null columns.
You code works correctly when I changed that table name to a test table I made specifically for the...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 26, 2021 at 9:07 pm
Let's do what Steve did (and nicely explained/demonstrated) but on steroids.
First, we need a very typical million rows to test against...
--===== Create the test table.
...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2021 at 2:57 am
Oops (again). Thank you Jeff. I updated the answer with before/after 2017.
Heh... thanks for the feedback, Steve. The reason I'm so very familiar with this one is that...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2021 at 11:04 pm
But my question is do we have a better approach to avoid deadlocks?
You bet there is. But, we can't help because we don't know what criteria you're using...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2021 at 10:59 pm
From the Article:
"The startup flags (1117 and 1118) recommended for tempdb are no longer needed as that functionality is now baked in."
Yeah... that little "trick" of theirs killed some...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2021 at 10:45 pm
If you look at the original 5 year old post on this thread, the OP didn't include the actual command they used. It could have been a spelling error in...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2021 at 10:03 pm
Yes, no STRING_AGG in 2012. We're in the 2016 Forum 🙂 To revert you could use STUFF+XML instead of STRING_AGG.
Doesn't matter if it is a 2016 forum... I'm...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2021 at 9:49 pm
You can ab
I considered submitting a request asking for a way to suppress the dark mode request.
I actually have to use DATEDIFF_BIG. The fact they couldn't be bothered...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 22, 2021 at 7:57 pm
The Postgres function is the one that I remember the best. I've not tested it for performance because I've never had to work on a Postgres DB. Oddly enough, I...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 22, 2021 at 2:56 pm
Viewing 15 posts - 5,356 through 5,370 (of 59,089 total)