Viewing 15 posts - 1 through 15 (of 52 total)
thanks Jeff the OPENQUERY solution solved all discrepancies.
January 21, 2019 at 11:16 pm
Yes I am using four part naming and have tried to offset that by using other views which I thought was successful until it failed over time. I didn't know...
January 20, 2019 at 4:20 pm
I tried changing CommandTimeout and kickstarting the linked server and reducing some of the query without any change. I'll look for alternative methods.
Thanks.
January 17, 2019 at 11:05 pm
Thanks. does that mean I have to rename the files to the original when restoring back?
December 18, 2018 at 4:57 pm
Thanks Drew much appreciated. I've never worked with that code before. the initial table or combination of tables has about 13 million records unfiltered table 2 has about 6k plus...
November 5, 2017 at 1:28 am
thanks, much appreciated.
May 7, 2017 at 5:42 pm
Thanks. I was hoping that by now they would have something and I would not have to setup a sp.
I've never heard of injection so thanks for that.
May 5, 2017 at 5:51 am
The difference in the estimate and actual recordcount is the result of the combination of the inner join and the AND clause in the table join if that makes sense....
December 1, 2016 at 5:33 pm
Joe - it might be better to do both inner joins on the asset to attribute table which returns a match of 14,538 records a 40,355 difference from returning all...
November 30, 2016 at 6:00 pm
It looks like they are not MUCK tables as they leave generalisation to the application in that they use an identifier for each unique list in one large (dare I...
November 29, 2016 at 10:01 pm
Thanks Grant, I like what you say it makes sense, as you can see it's ugly. I've attached a couple of txt files containing xml of the execution plan for...
November 29, 2016 at 9:24 pm
this is the fastest after some changes to get rid of the distinct clause:
select cast(ar.assnbri as integer) Asset_Number, ar.long_descr, attr1.seln_code1 Main_Use,attr1.seln_code2 Diameter_mm,attr1.seln_code3 Material,
(select fdescr from SELN_CODE where SELN_TYPE = 'AM_LINEM'...
November 29, 2016 at 8:29 pm
I'm still working out your diagnoses Grant, thanks for that. FYI this is an example of one of the queries with less lookups and less tables, these are all tables...
November 29, 2016 at 3:25 pm
Viewing 15 posts - 1 through 15 (of 52 total)