Viewing 15 posts - 5,386 through 5,400 (of 59,072 total)
Seriously, how'd it go?
--Jeff Moden
Change is inevitable... Change for the better is not.
p.s. No long-winded lecture on the use of WITH(NOLOCK) or an ordinal column list in the ORDER BY. You've been around long enough to know the cautions and...
--Jeff Moden
Change is inevitable... Change for the better is not.
Hello Jeff,
Thanks for your reply!
If I use the initial union query and put everything in a CTE, can I do an Update and then SELECT all fields? I need...
--Jeff Moden
Change is inevitable... Change for the better is not.
You've probably either actually hit the INS (insert) key or some combination of keys that does the same thing. If you look at the bottom of the SSMS code window,...
--Jeff Moden
Change is inevitable... Change for the better is not.
In case anyone is interested, the GroupBy voting begins on Monday, 12 April 2021 (that's about an hour from now for us in the EDST time zone). Here's the link. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
p.s. No long-winded lecture on the use of WITH(NOLOCK) or an ordinal column list in the ORDER BY. You've been around long enough to know the cautions and the reasons...
--Jeff Moden
Change is inevitable... Change for the better is not.
Thank you for the graphic that clearly demonstrates the problem and for the readily consumable test data, Luis. The following will do it for you. Details in the comments.
--Jeff Moden
RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.Change is inevitable... Change for the better is not.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
It's a "staging" table, right? Do you actually need a Clustered Index on it? While it usually is a "Best Practice" to have a good Clustered Index on permanent tables,...
--Jeff Moden
Change is inevitable... Change for the better is not.
Heh... a little Sunday morning laugh for everyone... It's simply titled "DevOps engineer during automation of CI-CD ". I have a real-live appreciation for what they frequently have to go...
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 15 posts - 5,386 through 5,400 (of 59,072 total)