Viewing 15 posts - 5,086 through 5,100 (of 59,089 total)
The PIVOT in the second part of your dynamic query creates integers for the count and that is what is being evaluated first in the creation of the table by...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2021 at 2:20 pm
I'm going to suggest that before you do anything else that you upgrade your new 2017 (RTM) server to the latest CU. There were quite a few nasty little performance...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2021 at 1:53 pm
Do you understand how the following works?
SELECT *
FROM [dbo].[checkportions]
WHERE GPNSignature LIKE PortionKey+'[^0-9]%'
;
I'll also state that if this type of thing has...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2021 at 1:47 pm
Thanks - that's perfect!
The reason I made the suggestion above is because the code that you think is perfect is doing 10 table scans on your test data. Your...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2021 at 1:34 pm
I would actually be seriously concerned about this. There are a whole lot of things not being considered and I'm thinking it'll be pretty easy, because of missing data, for...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2021 at 4:40 am
Thanks - that's perfect!
I don't have the time to try it out tonight even with the great test data posted but look at the STRING_AGG function again. It does...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2021 at 4:28 am
As you point out, implicit conversions on table columns (example, table column is VARCHAR(), lookup or join value is NVARCHAR()) is really bad especially for blocking. That, of course, is...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2021 at 4:10 am
Heh... it's also how people interpret things. Remember the old joke about bananas?
After a 2 year study, it's been found that people eat more bananas than monkeys.
It must...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 20, 2021 at 7:43 pm
K. Thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 20, 2021 at 7:27 pm
Ok, Eirikur... I'm not familar with the limerick you posted a part of and so I went looking. I didn't find it but I did find a mountain of different...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 20, 2021 at 2:52 am
FWIW, the 8KB schedule is online: https://eightkb.online/
Mr. Moden presenting, if you can make it, at Level 8192. Well above the 400-500 level of other sessions.
So, Jeff is...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 20, 2021 at 2:16 am
FWIW, the 8KB schedule is online: https://eightkb.online/
Mr. Moden presenting, if you can make it, at Level 8192. Well above the 400-500 level of other sessions.
So, Jeff is...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 20, 2021 at 2:08 am
here is another prime example of selective filtering
read the post before MSM / woke brigade / censor take it down !
I never bought into FaceBook or Twitter... what...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 20, 2021 at 12:11 am
This "little" trick-of-the-trade is usually pretty obvious to folks that work with and have to analyze data a lot but it really is deceptive to the general public whether it...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 19, 2021 at 3:09 pm
Just thinking out of a different box here...
Questions:
--Jeff Moden
Change is inevitable... Change for the better is not.
June 19, 2021 at 5:44 am
Viewing 15 posts - 5,086 through 5,100 (of 59,089 total)